boilercv_pipeline.models.df#

Data frame model.

Module Contents#

Classes#

GroupByCommon

Common groupby parameters.

Functions#

gbc

Get common groupby parameters.

agg

Pandas group aggregator for correct types.

Data#

API#

class boilercv_pipeline.models.df.GroupByCommon#

Bases: typing.TypedDict

Common groupby parameters.

Initialization

Initialize self. See help(type(self)) for accurate signature.

as_index: bool#

None

dropna: bool#

None

observed: bool#

None

group_keys: bool#

None

sort: bool#

None

boilercv_pipeline.models.df.GBC#

‘GroupByCommon(…)’

boilercv_pipeline.models.df.gbc(
as_index: bool = False,
dropna: bool = False,
observed: bool = True,
group_keys: bool = False,
sort: bool = False,
)#

Get common groupby parameters.

boilercv_pipeline.models.df.WIDTH#

10

boilercv_pipeline.models.df.agg(
dfgb: pandas.core.groupby.generic.DataFrameGroupBy[Any],
cols: dict[str, pandas.NamedAgg],
) pandas.DataFrame#

Pandas group aggregator for correct types.