All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
Index the salaries_df
dataframe by location_state
and set the values to annual_base_pay
. Use the mean
aggregation function to calculate the average annual base pay by location state.
Store the resulting dataframe in the variable avg_base_pay
.
Store the resulting dataframe in the variable max_annual_bonus_min_experience_by_rank_state
.
Store the resulting dataframe in the variable job_titles_by_category
.
Store the resulting dataframe in the variable avg_base_pay_count_records_senior_by_latitude_longitude
.
Store the resulting dataframe in the variable base_pay_by_country
.
Perform crosstabulation to calculate the median annual base pay by location country and job title rank. Also, fill missing values with the overall median annual base pay.
Store the resulting dataframe in the variable median_base_pay
.