holoviews.core.data.spatialpandas_dask module#
- class holoviews.core.data.spatialpandas_dask.DaskSpatialPandasInterface(*, name)[source]#
Bases:
SpatialPandasInterfaceMethods
add_dimension(dataset, dimension, dim_pos, ...)Returns a copy of the data with the dimension values added.
dframe(dataset, dimensions)Returns the data as a pandas.DataFrame containing the selected dimensions.
iloc(dataset, index)Implements integer indexing on the rows and columns of the data.
loaded()Indicates whether the required dependencies are loaded.
split(dataset, start, end, datatype, **kwargs)Splits a multi-interface Dataset into regular Datasets using regular tabular interfaces.
values(dataset, dimension[, expanded, flat, ...])Returns a single concatenated array of all subpaths separated by NaN values.
data_types
frame_type
init
partition_values
series_type
Parameter Definitions
- classmethod add_dimension(dataset, dimension, dim_pos, values, vdim)[source]#
Returns a copy of the data with the dimension values added.
- Parameters:
- dataset
Dataset The Dataset to add the dimension to
- dimension
Dimension The dimension to add
- dim_pos
int The position in the data to add it to
- valuesarray_like
The array of values to add
- vdimbool
Whether the data is a value dimension
- dataset
- Returns:
dataA copy of the data with the new dimension
- base_interface[source]#
alias of
DaskInterface
- classmethod dframe(dataset, dimensions)[source]#
Returns the data as a pandas.DataFrame containing the selected dimensions.
- classmethod iloc(dataset, index)[source]#
Implements integer indexing on the rows and columns of the data.
- Parameters:
- Returns:
dataIndexed data
Notes
Only implement for tabular interfaces.