Published on
· Data Independent

Pandas Crosstab | pd.Crosstab()

This post is auto-generated from a public YouTube video for personal study notes. It is not an endorsement. The transcript is machine-derived and may contain errors; refer to the original video for accuracy.

About this video

For all intensive purposes, you can think of Pandas Crosstab as the same things as Pandas Pivot Table.

When to use pd.crosstab(): When you are starting with non-DataFrame based data. This could be a list of lists or dictionaries.

pandas.crosstab(index=your_new_index(rows), columns=your_pivoted_columns, values=your_new_values)

Loading transcript…