causalkit.eda.CausalDataLite#

class causalkit.eda.CausalDataLite(df, treatment, target, confounders)[source]#

A minimal container for dataset roles used by CausalEDA.

Attributes - df: The full pandas DataFrame containing treatment, outcome and covariates. - treatment: Column name of the binary treatment indicator (0/1). - target: Column name of the outcome variable. - confounders: List of covariate column names used to model treatment.

Parameters:
__init__(df, treatment, target, confounders)#
Parameters:
Return type:

None

Methods

__init__(df, treatment, target, confounders)

Attributes

df: DataFrame#
treatment: str#
target: str#
confounders: List[str]#
__init__(df, treatment, target, confounders)#
Parameters:
Return type:

None