Session Ready
Exercise

Data filtration

As you noticed in the video lesson, you may need to filter your data for various reasons.

In this exercise, you will use filtering to select a specific part of our DataFrame:

  • by the number of entries recorded in each day of the week
  • by the mean amount of money the customers paid to the restaurant each day of the week
Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Create a new DataFrame containing only the days when the count of total_bill is greater than 40.