1. 学习
  2. /
  3. 课程
  4. /
  5. Exploratory Data Analysis in Python

Connected

练习

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.

说明 1 / 共 3 个

undefined XP
  • 1
    • Perform cross-tabulation, setting "Company_Size" as the index, and the columns to classes in "Experience".
  • 2
    • Cross-tabulate "Job_Category" and classes of "Company_Size" as column names.
  • 3
    • Update pd.crosstab() to return the mean "Salary_USD" values.