culebra.tools.abc.StatsOutcome class

class StatsOutcome(test: str, data: str, column: str, batches: list)

Bases: object

Base class for statistical analysis results.

Attributes

StatsOutcome.batches: list

Labels of all the analyzed batches

StatsOutcome.column: str

Column key in the dataframe

StatsOutcome.data: str

Key for the dataframe containing the data

StatsOutcome.test: str

Name of the test

Properties

property StatsOutcome.dataframe: DataFrame

Analysis result as a DataFrame.

This property must be overridden by subclasses to return a correct value.

Return type:

DataFrame

Dunder methods

StatsOutcome.__repr__()

Return repr(self).

StatsOutcome.__str__() → str

Pretty print of the analysis results.