OptionalcolsOptionalcorrectionExpected counts under H0 (matrix for independence, vector for goodness of fit).
True when any expected count is below 5 — the chi-square approximation is then questionable.
OptionalrowsRow / column labels when built from DataFrame columns.
Yates continuity correction applied (2×2 tables only).