* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
9 lines
743 B
Markdown
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) |