hvPlot.table#

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

Displays a ‘table’.

Reference: https://hvplot.holoviz.org/ref/api/manual/hvplot.hvPlot.table.html

Plotting options: https://hvplot.holoviz.org/ref/plotting_options/index.html

Parameters:
columnsstring or sequence

The field(s) to display as columns.

**kwdsoptional

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

Returns:
holoviews.element.Table / 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

Backend-specific styling options#

editable, fit_columns, index_position, row_headers, scroll_to_selection, selectable, sortable, visible

alpha, sketch_params

Examples#

Table with all columns in the dataframe#

import hvplot.pandas # noqa

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

df.hvplot.table()

Table with selected columns#

import hvplot.pandas # noqa

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

df.hvplot.table(columns=['species', 'island', 'body_mass_g','sex'])
This web page was generated from a Jupyter notebook and not all interactivity will work on this website.