From bbfe1c376ae5958771648ff51be8a64971d2a1e9 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Thu, 1 Feb 2024 13:47:56 -0600 Subject: [PATCH] Update cudf.pandas FAQ. (#14940) 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: https://github.com/rapidsai/cudf/pull/14940 --- docs/cudf/source/cudf_pandas/benchmarks.md | 2 +- docs/cudf/source/cudf_pandas/faq.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/cudf/source/cudf_pandas/benchmarks.md b/docs/cudf/source/cudf_pandas/benchmarks.md index 1a916dbee6a..9c747ed9c8f 100644 --- a/docs/cudf/source/cudf_pandas/benchmarks.md +++ b/docs/cudf/source/cudf_pandas/benchmarks.md @@ -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 diff --git a/docs/cudf/source/cudf_pandas/faq.md b/docs/cudf/source/cudf_pandas/faq.md index bbeaf0a5f00..dde7afb1360 100644 --- a/docs/cudf/source/cudf_pandas/faq.md +++ b/docs/cudf/source/cudf_pandas/faq.md @@ -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?