Python Pandas Tutorial 13. Crosstab

Опубликовано: 05 October 2026
на канале: codebasics
126,635
2.3k

Crosstab (also known as contingency table or cross tabulation) is a table showing frequency distribution of one variable in rows and another on columns. pandas crosstab method can be used to generate these contingency tables that are extremely useful in survey and business analytics.

Topics that are covered in this Python Pandas Video:
0:00 What is crosstab (contingency table)?
1:52 create contingency table with method crosstab()
5:04 Open documentation in jupyter notebook

code: https://github.com/codebasics/py/blob...

To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.

Do you want to learn technology from me? Check https://resources.codebasics.io/cWtKXQ for my affordable video courses.

Next Video:
Python Pandas Tutorial 14: Read Write Data From Database (read_sql, to_sql):    • Python Pandas Tutorial 14: Read Write Data...  

Popular Playlist:
Complete python course:    • Python 3 Programming Tutorials for Beginners  

Data science course:    • Data Science Full Course For Beginners | P...  

Machine learning tutorials:    • Machine Learning Tutorial Python | Machine...  

Pandas tutorials:    • Pandas Tutorial (Data Analysis In Python)  

Git github tutorials:    • Git/Github Tutorial  

Matplotlib course:    • Matplotlib tutorial  

Data structures course:    • Data Structures And Algorithms In Python  

Website: https://resources.codebasics.io/cWtKXQ
Facebook:   / codebasicshub  
Twitter:   / codebasicshub