mqr.anova.
interactions#
- mqr.anova.interactions(df: DataFrame, *, value: str, between: list[str], formatted=True)#
Interaction table.
- Parameters:
- dfpandas.DataFrame
Dataframe of measurements and categories.
- valuestr
Name of the column of measurements.
- betweenlist[str]
List of columns to group over before averaging.
- formattedbool, optional
When True, returns a formatted DataFrame. Set this to False to access the calculated values.
- Returns:
- pandas.DataFrame or pandas.io.formats.style.Styler
Average values per pair of columns in between. A DataFrame when formatted is True, a Styler otherwise.