You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trying to run this cell in the NYCTaxi-E2E.ipynb
#Using only 2016-01 data for visuals.
#taxi_df_cdf = clean(cudf.read_csv(valid_files[0]),must_haves)
#Using entire 2016 data for visualization
taxi_df_cdf = dask_cudf.read_csv(valid_files,npartitions=8).map_partitions(clean,must_haves,meta=must_haves).compute()
gives this error output
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[23], line 5
1 #Using only 2016-01 data for visuals.
2 #taxi_df_cdf = clean(cudf.read_csv(valid_files[0]),must_haves)
3
4 #Using entire 2016 data for visualization
----> 5 taxi_df_cdf = dask_cudf.read_csv(valid_files,npartitions=8).map_partitions(clean,must_haves,meta=must_haves).compute()
File [~/miniconda3/envs/rapids-23.04/lib/python3.10/site-packages/dask_cudf/io/csv.py:88](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/d/cuda/rapids/notebooks-contrib/community_tutorials_and_guides/taxi/~/miniconda3/envs/rapids-23.04/lib/python3.10/site-packages/dask_cudf/io/csv.py:88), in read_csv(path, blocksize, **kwargs)
86 if "://" in str(path):
87 func = make_reader(cudf.read_csv, "read_csv", "CSV")
---> 88 return func(path, blocksize=blocksize, **kwargs)
89 else:
90 return _internal_read_csv(path=path, blocksize=blocksize, **kwargs)
File [~/miniconda3/envs/rapids-23.04/lib/python3.10/site-packages/dask/dataframe/io/csv.py:755](https://vscode-remote+wsl-002bubuntu-002d22-002e04.vscode-resource.vscode-cdn.net/mnt/d/cuda/rapids/notebooks-contrib/community_tutorials_and_guides/taxi/~/miniconda3/envs/rapids-23.04/lib/python3.10/site-packages/dask/dataframe/io/csv.py:755), in make_reader..read(urlpath, blocksize, lineterminator, compression, sample, sample_rows, enforce, assume_missing, storage_options, include_path_column, **kwargs)
742 def read(
743 urlpath,
744 blocksize="default",
(...)
753 **kwargs,
754 ):
--> 755 return read_pandas(
756 reader,
...
--> 101 result = func(*args, **kwargs)
102 libnvtx_pop_range(self.domain.handle)
103 return result
TypeError: read_csv() got an unexpected keyword argument 'npartitions'
My rapids-23.04 conda environment when I do conda list
Describe the bug
Trying to run this cell in the
NYCTaxi-E2E.ipynb
gives this error output
My rapids-23.04 conda environment when I do
conda list
Steps/Code to reproduce bug
Expected behavior
A clear and concise description of what you expected to happen.
Environment details (please complete the following information):
docker pull
&docker run
commands usedAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: