A question about pd.qcut
code:
t = [1]*4782+[2]*1030+[3]*251+[4]*122+[5]*177
t = pd.Series(t)
result = pd.qcut(t,50,duplicates = 'drop').value_counts()

problem:
print(result), we get
(0.999, 2.0]    5812
(2.0, 3.0]       251
(4.0, 5.0]       177
(3.0, 4.0]       122

t.value_counts(), we get
1    4782
2    1030
3     251
5     177
4     122

why 1 and 2 combines in the same bin?