2021年1月6日星期三

how to find out rows that have one or more values as zero in any column of data set in python

Suppose say I have a dataframe with 20 rows(observations) and 4 columns.

Out of 20 rows, 5 rows have zeroes in 2 columns. How to find out which rows have zeroes as values in any column of dataframe in python?

https://stackoverflow.com/questions/65589390/how-to-find-out-rows-that-have-one-or-more-values-as-zero-in-any-column-of-data January 06, 2021 at 10:29AM

没有评论:

发表评论