Question: Define a variable top_employees which is a DataFrame containing all of the employees who were in the top quartile (top 25%) of salaries in all
Define a variable top_employees which is a DataFrame containing all of the employees who were in the top quartile (top 25%) of salaries in all of the three years in the record (2020-2022). Print out the top_employees variable. Tip: You can get the cutoff for the top 25% of salaries from the salary_stats_df DataFrame. Use the .loc property to access it!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
