kolom baru dengan panda interval usia
df_ages['age_bins'] = pd.cut(x=df_ages['age'], bins=[20, 29, 39, 49])
Happy Hippopotamus
df_ages['age_bins'] = pd.cut(x=df_ages['age'], bins=[20, 29, 39, 49])