Skip to content

Commit

Permalink
Update cudf.pandas FAQ. (#14940)
Browse files Browse the repository at this point in the history
This PR updates the cudf.pandas docs to reflect cudf using pandas 2.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Ashwin Srinath (https://github.com/shwina)

URL: #14940
  • Loading branch information
bdice authored Feb 1, 2024
1 parent 6b3462b commit bbfe1c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cudf/source/cudf_pandas/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ source pandas/py-pandas/bin/activate
pip install --extra-index-url=https://pypi.nvidia.com cudf-cu12 # or cudf-cu11
```

5. Modify pandas join/group code to use `cudf.pandas` and be compatible with pandas 1.5 APIs:
5. Modify pandas join/group code to use `cudf.pandas` and remove the `dtype_backend` keyword argument (not supported):

```bash
diff --git a/pandas/groupby-pandas.py b/pandas/groupby-pandas.py
Expand Down
3 changes: 2 additions & 1 deletion docs/cudf/source/cudf_pandas/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ There are a few known limitations that you should be aware of:
print(lst) # lst is unchanged, as this specific UDF could not run on the GPU
[10]
```
- `cudf.pandas` (and cuDF in general) is currently only compatible with pandas 1.5.x.
- `cudf.pandas` (and cuDF in general) is only compatible with pandas 2. Version
24.02 of cudf was the last to support pandas 1.5.x.

## Can I force running on the CPU?

Expand Down

0 comments on commit bbfe1c3

Please sign in to comment.