Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.68 KB

SeriesDataSet.md

File metadata and controls

34 lines (25 loc) · 1.68 KB

SeriesDataSet

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.

Properties

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]]

Example

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)

[Back to Model list] [Back to API list] [Back to README]