Skip to content

timescale_loader

timescale_loader ¤

TimescaleDBDataAccess ¤

TimescaleDBDataAccess(
    start_timestamp: str,
    end_timestamp: str,
    uuids: List[str],
    db_config: Dict[str, str],
)

fetch_data_as_dataframe ¤

fetch_data_as_dataframe() -> pd.DataFrame

Retrieves timeseries data from TimescaleDB and returns it as a single DataFrame. :return: A combined DataFrame with data for all specified UUIDs within the time range.