holoviews.core.data.spatialpandas_dask module#

class holoviews.core.data.spatialpandas_dask.DaskSpatialPandasInterface(*, name)[source]#

Bases: SpatialPandasInterface

Methods

add_dimension(dataset, dimension, dim_pos, ...)

Returns a copy of the data with the dimension values added.

base_interface

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:
datasetDataset

The Dataset to add the dimension to

dimensionDimension

The dimension to add

dim_posint

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

Returns:
data

A 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.

Parameters:
datasetDataset

The dataset to convert

dimensionslist[str]

List of dimensions to include

Returns:
DataFrame

A pandas DataFrame containing the selected dimensions

classmethod iloc(dataset, index)[source]#

Implements integer indexing on the rows and columns of the data.

Parameters:
datasetDataset

The dataset to apply the indexing operation on

indextuple or int

Index specification (row_index, col_index) or row_index

Returns:
data

Indexed data

Notes

Only implement for tabular interfaces.

classmethod loaded()[source]#

Indicates whether the required dependencies are loaded.

classmethod split(dataset, start, end, datatype, **kwargs)[source]#

Splits a multi-interface Dataset into regular Datasets using regular tabular interfaces.

classmethod values(dataset, dimension, expanded=True, flat=True, compute=True, keep_index=False)[source]#

Returns a single concatenated array of all subpaths separated by NaN values. If expanded keyword is False an array of arrays is returned.