Teddy Petrou (@tedpetrou) 's Twitter Profile
Teddy Petrou

@tedpetrou

💪 Master the Python Data Science Ecosystem 💪

🕴️Founder of Dunder Data
📚Author of multiple books
💻Developer of Dexplot
linktr.ee/teddypetrou

ID: 821432329

linkhttp://www.dunderdata.com calendar_today13-09-2012 12:30:55

6,6K Tweet

7,7K Takipçi

106 Takip Edilen

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.