dlpy.timeseries.TimeseriesTable.from_table

classmethod TimeseriesTable.from_table(tbl, columns=None, casout=None)

Create an TimeseriesTable from a CASTable

Parameters
tblCASTable

The CASTable object to use as the source.

columnslist-of-strings, optional

Columns to keep when loading the data. None means it will include all the columns from the source. Empty list means include no column, which will generate empty data. Default: None

casoutdict or CASTable, optional

if it is dict, it specifies the output CASTable parameters. if it is CASTable, it is the CASTable that will be overwritten. None means a new CASTable with random name will be generated. Default: None

Returns
TimeseriesTable