How to unpack the items that is returned by pd.seried.value_counts() in python?

前端 未结 0 1424
天涯浪人
天涯浪人 2021-02-06 11:30

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

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