How to find the range intervals of column with count & compare its values?

后端 未结 0 1144
Happy的楠姐
Happy的楠姐 2021-01-05 02:05

Below is my demo dataframe:

df=pd.DataFrame({"a": np.random.randint(1, high=50, size=50)})
bins =np.arange(0,df[\'a\'].max()+1,5).astype(\'int\') #          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题