docs/dask_cudf/source/api.rst
Dask cuDF implements the Dask-DataFrame API with with cudf objects used in
place of pandas objects. As recommended in the introduction, the best way to
use dask_cudf is to use the Dask DataFrame_ API with the backend set to
cudf.
.. code-block:: python
import dask dask.config.set({"dataframe.backend": "cudf"})
The rest of this page documents the API you might use from dask_cudf
explicitly.
:doc:Like Dask <dask:dataframe-create>, Dask-cuDF supports creation
of DataFrames from a variety of storage formats. In addition to the methods
documented there, Dask-cuDF provides some cuDF-specific methods:
.. automodule:: dask_cudf :members: from_cudf, read_text
For on-disk data that are not supported directly in Dask-cuDF, we recommend using one of
dask.dataframe.DataFrame.to_backend with "cudf" to obtain a
Dask-cuDF objectdask.dataframe.from_mapdask.dataframe.from_delayed.. _Dask DataFrame: https://docs.dask.org/en/stable/dataframe.html