Diferte a Dara Python
df['binned']=pd.cut(x=df['height'], bins=[0,25,50,100,200])
Bad Barracuda
df['binned']=pd.cut(x=df['height'], bins=[0,25,50,100,200])