Skip to main content

cross_tab

The main purpose of a cross-tabulation is to enable readers to readily compare two categorical variables:

pd.crosstab(ds.column_x, ds.column_y)