1. Learn
  2. /
  3. Courses
  4. /
  5. Fraud Detection in Python

Connected

Exercise

Customer segmentation

In this exercise you're going to check whether there are any obvious patterns for the clients in this data, thus whether you need to segment your data into groups, or whether the data is rather homogenous.

You unfortunately don't have a lot client information available; you can't for example distinguish between the wealth levels of different clients. However, there is data on **age ** available, so let's see whether there is any significant difference between behavior of age groups.

Instructions 1/3

undefined XP
    1
    2
    3
  • Group the dataframe df by the age category age and get the means for each age group.