cudf-polars-cu12 24.8.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PKG-INFO +126 -0
- pyproject.toml +6 -0
PKG-INFO
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: cudf-polars-cu12
|
|
3
|
+
Version: 24.8.3
|
|
4
|
+
Summary: Executor for polars using cudf
|
|
5
|
+
Author: NVIDIA Corporation
|
|
6
|
+
License: Apache 2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/rapidsai/cudf
|
|
8
|
+
Classifier: Intended Audience :: Developers
|
|
9
|
+
Classifier: Topic :: Database
|
|
10
|
+
Classifier: Topic :: Scientific/Engineering
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Programming Language :: Python
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: cudf-cu12==24.8.*
|
|
20
|
+
Requires-Dist: polars>=1.6
|
|
21
|
+
Provides-Extra: test
|
|
22
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
23
|
+
Requires-Dist: pytest-xdist; extra == "test"
|
|
24
|
+
Requires-Dist: pytest<8; extra == "test"
|
|
25
|
+
|
|
26
|
+
# <div align="left"><img src="img/rapids_logo.png" width="90px"/> cuDF - GPU DataFrames</div>
|
|
27
|
+
|
|
28
|
+
## 📢 cuDF can now be used as a no-code-change accelerator for pandas! To learn more, see [here](https://rapids.ai/cudf-pandas/)!
|
|
29
|
+
|
|
30
|
+
cuDF (pronounced "KOO-dee-eff") is a GPU DataFrame library
|
|
31
|
+
for loading, joining, aggregating, filtering, and otherwise
|
|
32
|
+
manipulating data. cuDF leverages
|
|
33
|
+
[libcudf](https://docs.rapids.ai/api/libcudf/stable/), a
|
|
34
|
+
blazing-fast C++/CUDA dataframe library and the [Apache
|
|
35
|
+
Arrow](https://arrow.apache.org/) columnar format to provide a
|
|
36
|
+
GPU-accelerated pandas API.
|
|
37
|
+
|
|
38
|
+
You can import `cudf` directly and use it like `pandas`:
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
import cudf
|
|
42
|
+
|
|
43
|
+
tips_df = cudf.read_csv("https://github.com/plotly/datasets/raw/master/tips.csv")
|
|
44
|
+
tips_df["tip_percentage"] = tips_df["tip"] / tips_df["total_bill"] * 100
|
|
45
|
+
|
|
46
|
+
# display average tip by dining party size
|
|
47
|
+
print(tips_df.groupby("size").tip_percentage.mean())
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Or, you can use cuDF as a no-code-change accelerator for pandas, using
|
|
51
|
+
[`cudf.pandas`](https://docs.rapids.ai/api/cudf/stable/cudf_pandas).
|
|
52
|
+
`cudf.pandas` supports 100% of the pandas API, utilizing cuDF for
|
|
53
|
+
supported operations and falling back to pandas when needed:
|
|
54
|
+
|
|
55
|
+
```python
|
|
56
|
+
%load_ext cudf.pandas # pandas operations now use the GPU!
|
|
57
|
+
|
|
58
|
+
import pandas as pd
|
|
59
|
+
|
|
60
|
+
tips_df = pd.read_csv("https://github.com/plotly/datasets/raw/master/tips.csv")
|
|
61
|
+
tips_df["tip_percentage"] = tips_df["tip"] / tips_df["total_bill"] * 100
|
|
62
|
+
|
|
63
|
+
# display average tip by dining party size
|
|
64
|
+
print(tips_df.groupby("size").tip_percentage.mean())
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Resources
|
|
68
|
+
|
|
69
|
+
- [Try cudf.pandas now](https://nvda.ws/rapids-cudf): Explore `cudf.pandas` on a free GPU enabled instance on Google Colab!
|
|
70
|
+
- [Install](https://docs.rapids.ai/install): Instructions for installing cuDF and other [RAPIDS](https://rapids.ai) libraries.
|
|
71
|
+
- [cudf (Python) documentation](https://docs.rapids.ai/api/cudf/stable/)
|
|
72
|
+
- [libcudf (C++/CUDA) documentation](https://docs.rapids.ai/api/libcudf/stable/)
|
|
73
|
+
- [RAPIDS Community](https://rapids.ai/learn-more/#get-involved): Get help, contribute, and collaborate.
|
|
74
|
+
|
|
75
|
+
See the [RAPIDS install page](https://docs.rapids.ai/install) for
|
|
76
|
+
the most up-to-date information and commands for installing cuDF
|
|
77
|
+
and other RAPIDS packages.
|
|
78
|
+
|
|
79
|
+
## Installation
|
|
80
|
+
|
|
81
|
+
### CUDA/GPU requirements
|
|
82
|
+
|
|
83
|
+
* CUDA 11.2+
|
|
84
|
+
* NVIDIA driver 450.80.02+
|
|
85
|
+
* Volta architecture or better (Compute Capability >=7.0)
|
|
86
|
+
|
|
87
|
+
### Pip
|
|
88
|
+
|
|
89
|
+
cuDF can be installed via `pip` from the NVIDIA Python Package Index.
|
|
90
|
+
Be sure to select the appropriate cuDF package depending
|
|
91
|
+
on the major version of CUDA available in your environment:
|
|
92
|
+
|
|
93
|
+
For CUDA 11.x:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
pip install --extra-index-url=https://pypi.nvidia.com cudf-cu11
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
For CUDA 12.x:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
pip install --extra-index-url=https://pypi.nvidia.com cudf-cu12
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Conda
|
|
106
|
+
|
|
107
|
+
cuDF can be installed with conda (via [miniconda](https://docs.conda.io/projects/miniconda/en/latest/) or the full [Anaconda distribution](https://www.anaconda.com/download) from the `rapidsai` channel:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
conda install -c rapidsai -c conda-forge -c nvidia \
|
|
111
|
+
cudf=24.08 python=3.11 cuda-version=12.5
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
We also provide [nightly Conda packages](https://anaconda.org/rapidsai-nightly) built from the HEAD
|
|
115
|
+
of our latest development branch.
|
|
116
|
+
|
|
117
|
+
Note: cuDF is supported only on Linux, and with Python versions 3.9 and later.
|
|
118
|
+
|
|
119
|
+
See the [RAPIDS installation guide](https://docs.rapids.ai/install) for more OS and version info.
|
|
120
|
+
|
|
121
|
+
## Build/Install from Source
|
|
122
|
+
See build [instructions](CONTRIBUTING.md#setting-up-your-build-environment).
|
|
123
|
+
|
|
124
|
+
## Contributing
|
|
125
|
+
|
|
126
|
+
Please see our [guide for contributing to cuDF](CONTRIBUTING.md).
|