Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cudf

> DevOps
Open source

cuDF - GPU DataFrame Library

9.7K stars0 likes3 views
WebsiteGitHub

About

cuDF - GPU DataFrame Library

NVIDIA cuDF: A GPU-accelerated DataFrame library for tabular data processing

NVIDIA cuDF (pronounced "KOO-dee-eff") is an Apache 2.0 licensed, GPU-accelerated DataFrame library for tabular data processing. The cuDF library is one part of the NVIDIA CUDA-X suite of GPU Accelerated libraries.

About

cuDF is composed of multiple libraries including:

  • libcudf: A CUDA C++ library with Apache Arrow compliant data structures and fundamental algorithms for tabular data.
  • pylibcudf: A Python library providing Cython bindings for libcudf.
  • cudf: A Python library providing
    • A DataFrame library mirroring the pandas API
    • A zero-code change accelerator, cudf.pandas, for existing pandas code.
  • cudf-polars: A Python library providing a GPU engine for Polars
  • dask-cudf: A Python library providing a GPU backend for Dask DataFrames

Notable projects that use cuDF include:

  • Spark RAPIDS: A GPU accelerator plugin for Apache Spark
  • Velox-cuDF: A Velox extension module to execute Velox plans on the GPU
  • Sirius: A GPU-native SQL engine providing extensions for libraries like DuckDB

Installation

System Requirements

Operating System, GPU driver, and supported CUDA version information can be found at the RAPIDS Installation Guide

pip

A stable release of each cudf library is available on PyPI. You will need to match the major version number of your installed CUDA version with a -cu## suffix when installing from PyPI.

A development version of each library is available as a nightly release by including the -i https://pypi.anaconda.org/rapidsai-wheels-nightly/simple/ index.

bash
# CUDA 13
pip install libcudf-cu13
pip install pylibcudf-cu13
pip install cudf-cu13
pip install cudf-polars-cu13
pip install dask-cudf-cu13

# CUDA 12
pip install libcudf-cu12
pip install pylibcudf-cu12
pip install cudf-cu12
pip install cudf-polars-cu12
pip install dask-cudf-cu12

conda

A stable release of each cudf library is available to be installed with the conda package manager by specifying the -c rapidsai channel.

A development version of each library is available as a nightly release by specifying the -c rapidsai-nightly channel instead.

bash
conda install -c rapidsai libcudf
conda install -c rapidsai pylibcudf
conda install -c rapidsai cudf
conda install -c rapidsai cudf-polars
conda install -c rapidsai dask-cudf

source

To install cuDF from source, please follow the contribution guide detailing how to setup the build environment.

Examples

The following examples showcase reading a parquet file, dropping missing rows with a null value, and performing a groupby aggregation on the data.

cudf

import cudf and the APIs are largely similar to pandas.

python
import cudf

df = cudf.read_parquet("data.parquet")
df.dropna().groupby(["A", "B"]).mean()

cudf.pandas

With a Python file containing pandas code:

python
import pandas as pd

df = pd.read_parquet("data.parquet")
df.dropna().groupby(["A", "B"]).mean()

Use cudf.pandas by invoking python with -m cudf.pandas

bash
$ python -m cudf.pandas script.py

If running the pandas code in an interactive Jupyter environment, call %load_ext cudf.pandas before importing pandas.

python
In [1]: %load_ext cudf.pandas

In [2]: import pandas as pd

In [3]: df = pd.read_parquet("data.parquet")

In [4]: df.dropna().groupby(["A", "B"]).mean()

cudf-polars

Using Polars' lazy API, call collect with engine="gpu" to run the operation on the GPU

python
import polars as pl

lf = pl.scan_parquet("data.parquet")
lf.drop_nulls().group_by(["A", "B"]).mean().collect(engine="gpu")

Questions and Discussion

For bug reports or feature requests, please file an issue on the GitHub issue tracker.

For questions or discussion about cuDF and GPU data processing, feel free to post in the RAPIDS Slack workspace.

Contributing

cuDF is open to contributions from the community! Please see our guide for contributing to cuDF for more information.

Issues· 1370 open

View all issuesOpen on GitHub
  • #24319

    [BUG] Parquet bloom filter pruning drops row groups that contain the value (int8/int16, TIME(MILLIS), -0.0) and fails for decimals

    Updated Sep 29, 2026
  • #24274

    [BUG] Parquet Snappy decompression can consume uninitialized padded input bytes after RMM pool reuse

    bug? - Needs TriageUpdated Sep 29, 2026
  • #24315

    [BUG] ORC reader applies the first stripe's writer timezone to every stripe

    buglibcudf? - Needs TriageUpdated Sep 29, 2026
  • #24313

    [BUG] read_parquet ignores prefetch_options={"method": "parquet"} for remote files

    Updated Sep 28, 2026
  • #24299

    [BUG] With regex_flags::ASCII, \S matches only digits and [\W] matches _

    buglibcudfUpdated Sep 28, 2026
  • #24298

    [BUG] Negative timedeltas: astype(str) output and string parsing disagree with pandas

    Updated Sep 27, 2026
  • #23877

    [FEA] Explore adding Vortex file format support to cuDF

    feature request? - Needs TriageUpdated Sep 24, 2026
  • #22949

    Use Quent bindings in cudf-polars

    Pythonimprovementcudf-polarsUpdated Sep 23, 2026
  • #24268

    [FEA] Top-down migration plan: cudf::memory_resources in every public API, in dependency order

    libcudfimprovementUpdated Sep 23, 2026
  • #22507

    [FEA] AST should support `CAST_TO_DECIMAL{32,64,128}` (cast-to-fixed-point in `compute_column` / `compute_column_jit`)

    feature requestlibcudfUpdated Sep 23, 2026

> Tags

C++arrowcppcudacudf

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理