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_PYARROW: dict[str, pyarrow.lib.DataType][source]¶
- pudl.metadata.constants.FIELD_DTYPES_SQL: dict[str, type][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, collections.abc.Callable[[pandas.Series], pandas.Series]][source]¶
Functions converting datetimes to period start times, by time period.