Exercise

Choosing a hypothesis

You've seen how visualizations can be used to generate hypotheses, making them a crucial part of exploratory data analysis!

In this exercise, you'll generate a bar plot to inspect how salaries differ based on company size and employment status. For reference, there are four values:

Value Meaning
CT Contractor
FL Freelance
PT Part-time
FT Full-time

pandas has been imported as pd, matplotlib.pyplot as plt, seaborn as sns, and the salaries dataset as a pandas DataFrame called salaries.

Instructions 1/2

undefined XP
    1
    2
  • Produce a barplot comparing "Salary_USD" by "Company_Size", factoring "Employment_Status".