pastas.timeseries.TimeSeries.to_dict#

pastas.timeseries.TimeSeries.to_dict(series: bool | None = True) dict#

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