pandas.crosstab: Create a Cross Tabulation from a Pandas DataFrame
pandas.crosstab: Create a Cross Tabulation from a Pandas DataFrame
Cross tabulation allows you to analyze the relationship between multiple variables. To turn a pandas DataFrame into a cross tabulation, use pandas.crosstab.