MetaFrame

MetaFrame(df, outputs[, log_vars, ...])

Abstract Base Class for WideData and TidyData.

Methods

Attributes

MetaFrame.float_inputs

Columns of dataframe with "float64" dtype.

MetaFrame.inputs

Columns of dataframe not contained in outputs.

MetaFrame.log_vars

MetaFrame.logit_vars

MetaFrame.names_column

MetaFrame.specs

Provides keyword arguments for easy instantiation of a similar object.

MetaFrame.stdzr

MetaFrame.t

Transformed data values.

MetaFrame.values_column

MetaFrame.z

Standardized data values.

MetaFrame.df

MetaFrame.outputs

class gumbi.aggregation.MetaFrame(df: DataFrame, outputs: list, log_vars: list | None = None, logit_vars: list | None = None, names_column: str = 'Variable', values_column: str = 'Value', stdzr: Standardizer | None = None)

Bases: DataFrame, ABC

Abstract Base Class for WideData and TidyData.

property float_inputs: list[str]

Columns of dataframe with “float64” dtype.

property inputs: list[str]

Columns of dataframe not contained in outputs.

property specs: dict

Provides keyword arguments for easy instantiation of a similar object.

abstract property t: DataFrame

Transformed data values.

abstract property z: DataFrame

Standardized data values.