Skip to main content

carbonarc.utils

timeseries_response_to_pandas

def timeseries_response_to_pandas(response: dict) -> pd.DataFrame

Convert a timeseries response to a pandas DataFrame.

Arguments:

  • response: The response object from the API.

Returns:

A pandas DataFrame containing the timeseries data.