Nova coluna com pandas de intervalo de idade
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])