PipelineContext#
- class causalpy.pipeline.PipelineContext[source]#
Mutable container that accumulates results as pipeline steps execute.
Each step reads from and writes to this context, building up a complete record of the analysis.
- data#
The input dataset.
- Type:
pd.DataFrame
- experiment#
The fitted experiment object, populated by
EstimateEffect.- Type:
BaseExperiment or None
- experiment_config#
The configuration used to create the experiment (method class + keyword arguments), so that downstream steps like
SensitivityAnalysiscan derive experiment factories.- Type:
dict or None
- effect_summary#
The effect summary from the primary experiment.
- Type:
EffectSummary or None
Methods
PipelineContext.__init__(data[, experiment, ...])Attributes
- __init__(data, experiment=None, experiment_config=None, effect_summary=None, sensitivity_results=<factory>, report=None)#
- classmethod __new__(*args, **kwargs)#