I have series like the one given below:
j=pd.Series([3,5,3,2]) j.value_counts() 3 2 2 1 5 1 dtype: int64
Now my require