What is pandas crosstab() and how does it differ from pivot_table()?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Explain what the pandas crosstab() function does and how it differs from pivot_table(). Tests your knowledge of contingency tables, default aggregations, normalization, margins and how each function handles empty combinations.