Column-oriented dataset. Timeseries data layout with a column header and a seperate data array for the time index and each series. Result for render options data_axis=row
and header_array=row
.
Name | Type | Description | Notes |
---|---|---|---|
attributes | DataSetAttributes | [optional] | |
window_spec | DataSetWindow | [optional] | |
data_axis | ColumnDataSetDataAxis | [optional] [default to ColumnDataSetDataAxis.ROW] | |
columns | List[ColumnHeadersInner] | Header Attributes for the column data. The initial string-valued headers (normally a single `timestamp`) indicate that column to contain row index data (i.e. timestamps). The remaining object-valued column headers identify and describe the actual series data. | |
data | List[List[Datum]] |
from waylay.services.queries.models.series_data_set import SeriesDataSet
# TODO update the JSON string below
json = "{}"
# create an instance of SeriesDataSet from a JSON string
series_data_set_instance = SeriesDataSet.from_json(json)
# print the JSON string representation of the object
print SeriesDataSet.to_json()
# convert the object into a dict
series_data_set_dict = series_data_set_instance.to_dict()
# create an instance of SeriesDataSet from a dict
series_data_set_form_dict = series_data_set.from_dict(series_data_set_dict)