Files
developer-roadmap/roadmaps/python-data-analysis/content/cross-tabulation@7XHYCVpUpvwAtaUBjTa4O.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

9 lines
743 B
Markdown

# Cross-tabulation
Cross-tabulation (crosstab) counts the frequency of combinations of values across two or more categorical variables. `pd.crosstab()` produces a table of frequencies or proportions. It is used to examine relationships between categorical variables, such as how customer segments differ across product categories.
Visit the following resources to learn more:
- [@official@pandas.crosstab](https://pandas.pydata.org/docs/reference/api/pandas.crosstab.html)
- [@article@The Power of Crosstab Function in Pandas](https://medium.com/geekculture/the-power-of-crosstab-function-in-pandas-for-data-analysis-and-visualization-6c085c269fcd)
- [@video@Python Pandas Tutorial 13. Crosstab](https://www.youtube.com/watch?v=I_kUj-MfYys)