So I have a dataframe with 5 columns. I would like to pull the indices where all of the columns are NaN. I was using this code:
nan = pd.isnull(df.all)
but that is just returning false because it is logically saying no not all values in the dataframe are null. There are thousands of entries so I would prefer to not have to loop through and check each entry. Thanks!