Utils
Contents
Utils#
Module Contents#
Functions#
Format interconnection queue data |
|
Get interconnection queue data for all ISOs |
|
Get an ISO by its id |
|
Returns whether date is within N days |
|
List available ISOs |
|
Load a single dataframe for same schema csv files in a folder |
|
Attributes Summary#
Contents#
- gridstatus.utils.format_interconnection_df(queue, rename, extra=None, missing=None)[source]#
Format interconnection queue data
- gridstatus.utils.is_within_last_days(date, days, tz=None)[source]#
Returns whether date is within N days
- gridstatus.utils.load_folder(path, time_zone=None, verbose=True)[source]#
Load a single dataframe for same schema csv files in a folder
- Arguments:
path {str} – path to folder time_zone {str} – time zone to localize to timestamps. By default returns as UTC
- Returns:
pd.DataFrame – dataframe of all files