larch.Dataset.from_table
larch.Dataset.from_table¶
- classmethod Dataset.from_table(tbl, index_name='index', index=None)[source]¶
Convert a pyarrow.Table into an xarray.Dataset
- Parameters
tbl (Table) – Table from which to use data and indices.
index_name (str, default 'index') – This name will be given to the default dimension index, if none is given. Ignored if index is given explicitly.
index (Index-like, optional) – Use this index instead of a default RangeIndex.
- Returns
New Dataset.