Tabular Datasets ¶
In this guide we will explore how to work with tabular data in HoloViews. Tabular data has a fixed list of column headings, with values stored in an arbitrarily long list of rows. Spreadsheets, relational databases, CSV files, and many other typical data sources fit naturally into this format. HoloViews defines an extensible system of interfaces to load, manipulate, and visualize this kind of data, as well as allowing conversion of any of the non-tabular data types into tabular data for analysis or data interchange.
By default HoloViews will use one of these data storage formats for tabular data:
- A pure Python dictionary containing 1D NumPy-arrays for each column.
- A purely NumPy array format for numeric data.
- Pandas DataFrames
- Dask DataFrames
import numpy as np import pandas as pd import holoviews as hv hv.extension('bokeh', 'matplotlib')