Session Ready
Exercise

Focusing on the problem location

Because Southfield was the location where the accident increased the most from 2016 to 2017, you should investigate what else changed there. Overworked employees are more likely to make mistakes that lead to accidents, so you can start by comparing average overtime hours worked in each year.

Instructions 1/4
undefined XP
  • 1
  • 2
  • 3
  • 4
  • Use filter() on hr_joined, and keep only the data from the Southfield location. Assign the result to southfield.