How could I return a number of each value type occurrences in a Pandas column with booleans only?

前端 未结 0 1376
孤街浪徒
孤街浪徒 2020-12-21 08:24

In my Pandas dataframe, I created a column with Booleans only. I want to return its stats, something like:

Out: 
True 1080 occurrences
False 460 occurrences 
         


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