import pandas as pd num=[5,10,11,13,15,35,50,55,72,92,204,215] price=pd.cut(num,3) print(price.value_counts())