Session Ready
Exercise

Create salary hike range

As discussed in the video, you will now classify percent_hike into the following categories for employees who are at Analyst level:

  • 0 to 10, if 0 <= percent_hike <= 10
  • 11 to 15, if 11 <= percent_hike <= 15
  • 16 to 20, if 16 <= percent_hike <= 20
Instructions
100 XP
  • Plot a histogram of the percent_hike column.
  • Subset the emp_final dataset to contain employees at Analyst level and classify percent_hike as per the conditions mentioned above.