model_input_schemas
AbstractScenarioModel
Bases: DataFrameModel
Base schema for scenario dataframe as used when creating a model.
Structure:
- Index: datetime (time series)
- Columns:
- load_
Config
Configuration for the schema model.
check_datetime_index
classmethod
check_datetime_index(df: DataFrame)
Ensure index is datetime-like or timedelta-like.
Source code in cable_thermal_model/model/schemas/model_input_schemas.py
33 34 35 36 37 | |
check_no_missing_values
classmethod
check_no_missing_values(df: DataFrame)
Ensure there are no missing values in the scenario dataframe.
Source code in cable_thermal_model/model/schemas/model_input_schemas.py
39 40 41 42 43 | |