pastas.timeseries.TimeSeries.to_dict#

TimeSeries.to_dict(series=True)[source]#

Method to export the Time Series to a json format.

Parameters

series (bool, optional) – True to export the original time series, False to only export the TimeSeries object”s name.

Returns

data – dictionary with the necessary information to recreate the TimeSeries object completely.

Return type

dict