pylibcudf - Python bindings for libcudf
Project description
cuDF - GPU DataFrames
📢 cuDF can now be used as a no-code-change accelerator for pandas! To learn more, see here!
cuDF (pronounced "KOO-dee-eff") is a GPU DataFrame library for loading, joining, aggregating, filtering, and otherwise manipulating data. cuDF leverages libcudf, a blazing-fast C++/CUDA dataframe library and the Apache Arrow columnar format to provide a GPU-accelerated pandas API.
You can import cudf directly and use it like pandas:
import cudf
tips_df = cudf.read_csv("https://github.com/plotly/datasets/raw/master/tips.csv")
tips_df["tip_percentage"] = tips_df["tip"] / tips_df["total_bill"] * 100
# display average tip by dining party size
print(tips_df.groupby("size").tip_percentage.mean())
Or, you can use cuDF as a no-code-change accelerator for pandas, using
cudf.pandas.
cudf.pandas supports 100% of the pandas API, utilizing cuDF for
supported operations and falling back to pandas when needed:
%load_ext cudf.pandas # pandas operations now use the GPU!
import pandas as pd
tips_df = pd.read_csv("https://github.com/plotly/datasets/raw/master/tips.csv")
tips_df["tip_percentage"] = tips_df["tip"] / tips_df["total_bill"] * 100
# display average tip by dining party size
print(tips_df.groupby("size").tip_percentage.mean())
Resources
- Try cudf.pandas now: Explore
cudf.pandason a free GPU enabled instance on Google Colab! - Install: Instructions for installing cuDF and other RAPIDS libraries.
- cudf (Python) documentation
- libcudf (C++/CUDA) documentation
- RAPIDS Community: Get help, contribute, and collaborate.
See the RAPIDS install page for the most up-to-date information and commands for installing cuDF and other RAPIDS packages.
Installation
CUDA/GPU requirements
- CUDA 12.0+ with a compatible NVIDIA driver
- Volta architecture or better (Compute Capability >=7.0)
Pip
cuDF can be installed via pip from the NVIDIA Python Package Index.
Be sure to select the appropriate cuDF package depending
on the major version of CUDA available in your environment:
pip install cudf-cu12
Conda
cuDF can be installed with conda (via miniforge) from the rapidsai channel:
conda install -c rapidsai -c conda-forge cudf=25.08
We also provide nightly Conda packages built from the HEAD of our latest development branch.
Note: cuDF is supported only on Linux, and with Python versions 3.10 and later.
See the RAPIDS installation guide for more OS and version info.
Build/Install from Source
See build instructions.
Contributing
Please see our guide for contributing to cuDF.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylibcudf_cu12-25.8.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 27.9 MB
- Tags: CPython 3.13, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fd80d86376a95ad6962ae426a8cc4a1a502be64260d71fbe76ee87640389605
|
|
| MD5 |
bb7f7ed8ba899d1e0678fde3f335e7d2
|
|
| BLAKE2b-256 |
b8979dfc8b542f53ea5ae29030a7767328c47f9128a5d4bd6db75ec5dc9ddbe0
|
File details
Details for the file pylibcudf_cu12-25.8.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 28.0 MB
- Tags: CPython 3.13, manylinux: glibc 2.24+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf5245bce8c9db21b9b69daf95276635e36521884af1dbdcdd75dee2444cfe35
|
|
| MD5 |
2b2a9fb18410e49442c81c948bca2e59
|
|
| BLAKE2b-256 |
da3d49a1149b0dc3fac38608e2b9a16acbf7d1679d863978dd1823f186434207
|
File details
Details for the file pylibcudf_cu12-25.8.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 27.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf32e29dcbc3869095c7c65a3d18b6b5f7d3edf19efe5ca67a9c4b716e582e73
|
|
| MD5 |
d52745f2326e6442a528dd8322e4df98
|
|
| BLAKE2b-256 |
e77725e584707b9a2606b6aae9ca7b13c54cff131740598a5996df34ea346bf9
|
File details
Details for the file pylibcudf_cu12-25.8.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 28.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.24+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74a307a41d7c322ee3477c15405d70eaf9599cf495c0620190ec8f08306abc4f
|
|
| MD5 |
2ad6fff7b673d64f4b4fc40184d04e7a
|
|
| BLAKE2b-256 |
7ddcc687ab9a09883074471395e21b6f81620ee215f3fcc28af5dfbdba3b75f4
|
File details
Details for the file pylibcudf_cu12-25.8.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 28.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aa1dca69542492b9fb7d3eb30919ab939ad3b833ded4e8fb19d5a51a0e543bc
|
|
| MD5 |
be59626a6913c04eebabb707557ddd84
|
|
| BLAKE2b-256 |
abd0a829b85a043e255efe7387470c851fb06ae5064a3c8289994c1d275362b4
|
File details
Details for the file pylibcudf_cu12-25.8.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 28.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.24+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18d7032242d2b8a136f226b7ae4fd8e631e526cbc886186cb7571eb1c25fbcef
|
|
| MD5 |
44598ef14d367b5b725465783b95b461
|
|
| BLAKE2b-256 |
1a12023332074131122d839be397fe78195eb51eae131a82004438933e9ffbbc
|
File details
Details for the file pylibcudf_cu12-25.8.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 28.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea4392453a549c0b5da9b09fc955f30ac2f263b2348577bc65d246eeeba53501
|
|
| MD5 |
8865345cec96b48a900f444f30c88196
|
|
| BLAKE2b-256 |
d3559c9e06919f7a8ecab61b1a504f52fb81cc237d2d9249b4ab82112b4697b7
|
File details
Details for the file pylibcudf_cu12-25.8.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pylibcudf_cu12-25.8.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 28.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.24+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4c8e64098be93911c75f0c963ef8700a9a3da0f9c7e32e9ab6e9b91f2fb7227
|
|
| MD5 |
01f57ac78fe9de10ee4de295b349f27d
|
|
| BLAKE2b-256 |
91fea69aba891875d665e0c65cd0cbe2f4ad0056bd31ccfed31aa4afb02c52c2
|