profile-img
Teddy Petrou

@TedPetrou

💪 Master the Python Data Science Ecosystem 💪

🕴️Founder of Dunder Data
📚Author of multiple books
💻Developer of Dexplot
https://t.co/QSRQLcRY0g

calendar_today13-09-2012 12:30:55

6,4K Tweets

7,5K Followers

117 Following

Teddy Petrou(@TedPetrou) 's Twitter Profile Photo

The pandas crosstab function has one key extra feature that the pivot_table method does not - normalization!

In this example, both compute an aggregation, but crosstab is able to go further and normalize the result across rows.

The pandas crosstab function has one key extra feature that the pivot_table method does not - normalization! In this example, both compute an aggregation, but crosstab is able to go further and normalize the result across rows.
account_circle