hvPlot.table#
- hvPlot.table(columns=None, **kwds)[source]#
Displays a ‘table’.
Reference: https://hvplot.holoviz.org/reference/tabular/table.html
- Parameters:
- columnsstring or sequence
The field(s) to display as columns.
- sortablebool, optional
If True the columns are sortable. Default is False.
- selectablebool, optional
If True the cells are selectable. Default is False. # Todo: Describe how to use this
- **kwdsoptional
Additional keywords arguments are documented in hvplot.help(‘table’). See Plotting Options for more information.
- Returns:
holoviews.element.Table
/ Panel objectYou 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
HoloViews: https://holoviews.org/reference/elements/bokeh/Table.html
Plotly: https://plotly.com/python/table/
Matplotlib: https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.table.html
Examples
import hvplot.pandas from bokeh.sampledata.autompg import autompg_clean as df df.hvplot.table(columns=['origin', 'name', 'yr'], sortable=True, selectable=True)
Backend-specific styling options#
editable, fit_columns, index_position, row_headers, scroll_to_selection, selectable, sortable, visible
alpha, sketch_params
Examples#
TBD