How to return all rows that have equal number of values of 0 and 1?

后端 未结 0 1919
深忆病人
深忆病人 2021-02-09 08:12

I have dataframe that has 50 columns each column have either 0 or 1. How do I return all rows that have an equal (tie) in the number of 0 and 1 (25 "0" and 25 "1&

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