holoviews.core.data.pandas module#

class holoviews.core.data.pandas.PandasAPI[source]#

Bases: object

This class is used to describe the interface as having a pandas-like API.

The reason to have this class is that it is not always possible to directly inherit from the PandasInterface.

This class should not have any logic as it should be used like:
if issubclass(interface, PandasAPI):

class holoviews.core.data.pandas.PandasInterface(*, name)[source]#

Bases: Interface, PandasAPI

Parameter Definitions


classmethod as_dframe(dataset)[source]#

Returns the data of a Dataset as a dataframe avoiding copying if it already a dataframe type.

classmethod unpack_scalar(dataset, data)[source]#

Given a dataset object and data in the appropriate format for the interface, return a simple scalar.