Cross-tabulation
Cross-tabulation can help identify how observations occur in combination.
Using the salaries
dataset, which has been imported as a pandas
DataFrame, you'll perform cross-tabulation on multiple variables, including the use of aggregation, to see the relationship between "Company_Size"
and other variables.
pandas
has been imported for you as pd
.
This exercise is part of the course
Exploratory Data Analysis in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Cross-tabulate Company_Size and Experience
print(____.____(salaries["____"], salaries["____"]))