nueva columna con pandas de intervalo de edad
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])