holoviews.core.data.cudf module#
- class holoviews.core.data.cudf.cuDFInterface(*, name)[source]#
Bases:
PandasInterface
The cuDFInterface allows a Dataset objects to wrap a cuDF DataFrame object. Using cuDF allows working with columnar data on a GPU. Most operations leave the data in GPU memory, however to plot the data it has to be loaded into memory.
The cuDFInterface covers almost the complete API exposed by the PandasInterface with two notable exceptions:
Aggregation and groupby do not have a consistent sort order (see rapidsai/cudf#4237)
Not all functions can be easily applied to a cuDF so some functions applied with aggregate and reduce will not work.
Methods
applies
(obj)Indicates whether the interface is designed specifically to handle the supplied object's type.
loaded
()Indicates whether the required dependencies are loaded.
select_mask
(dataset, selection)Given a Dataset object and a dictionary with dimension keys and selection keys (i.e. tuple ranges, slices, sets, lists, or literals) return a boolean mask over the rows in the Dataset object that have been selected.
add_dimension
aggregate
concat_fn
dframe
groupby
iloc
init
range
select
sort
values
Parameter Definitions