solarforecastarbiter.io.utils.deserialize_timeseries¶
-
solarforecastarbiter.io.utils.
deserialize_timeseries
(data)[source]¶ Deserializes a timeseries from JSON
Parameters: data (str) – JSON string to deserialize. Must have schema and data keys.
Returns: pandas.Series or pandas.DataFrame – Deserialized timeseries
Raises: ValueError
– If “schema” or “data” keys are not found in the JSON stringKeyError
– If the schema object does not contain the proper keys