[Install and set up cuDF](https://github.com/rapidsai/cudf?tab=readme-ov-file#installation), then use it as a drop-in replacement for Pandas: ```python %load_ext cudf.pandas # pandas API is now GPU accelerated import pandas as pd df = pd.read_csv("filepath") # uses the GPU! df.groupby("col").mean() # uses the GPU! df.rolling(window=3).sum() # uses the GPU! df.apply(set, axis=1) # uses the CPU (fallback) ``` ```shell ipython -m cudf.pandas ```