pudl.metadata.constants
Metadata and operational constants.
Module Contents
- pudl.metadata.constants.FIELD_DTYPES_PANDAS :Dict[str, str][source]
Pandas data type by PUDL field type (Data Package field.type).
- pudl.metadata.constants.FIELD_DTYPES_SQL :Dict[str, sqlalchemy.sql.visitors.VisitableType][source]
SQLAlchemy column types by PUDL field type (Data Package field.type).
- pudl.metadata.constants.CONSTRAINT_DTYPES :Dict[str, Type][source]
Python types for field constraints by PUDL field type (Data Package field.type).
- pudl.metadata.constants.PERIODS :Dict[str, Callable[[pandas.Series], pandas.Series]][source]
Functions converting datetimes to period start times, by time period.