I would like to group the datas with 4 ranges,and I used Pandas.cut to bin,here is my code and result
Then I used df.describe() and I found the ranges with the edges are different with pd.cut,why?
pd.cut is [(2.719, 3.042] < (3.042, 3.365] < (3.365, 3.688] < (3.688, 4.01]]
df.describe() is
min 2.720000
25% 3.110000
50% 3.210000
75% 3.320000
max 4.010000

