hvPlot.dataset#

hvPlot.dataset(columns=None, **kwds)[source]#

Wraps the dataset in a holoviews.element.Dataset object, for further processing with HoloViews.

Parameters:
**kwdsoptional

Additional keywords arguments are documented in Plotting Options. Run hvplot.help('dataset') for the full method documentation.

Returns:
holoviews.element.Dataset / Panel object

You can print the object to study its composition and run:

import holoviews as hv
hv.help(the_holoviews_object)

to learn more about its parameters and options.

References

Examples#

The dataset method returns a HoloViews Dataset element.

import hvplot.pandas # noqa

df = hvplot.sampledata.penguins("pandas")

df.hvplot.dataset()
:Dataset   [species,island,bill_length_mm,bill_depth_mm,flipper_length_mm,body_mass_g,sex,year]
import hvplot.xarray  # noqa

ds = hvplot.sampledata.air_temperature("xarray")

ds.hvplot.dataset()
:Dataset   [lat,lon,time]   (4xDaily Air temperature at sigma level 995)
This web page was generated from a Jupyter notebook and not all interactivity will work on this website.