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)
From the master himself: https://stackoverflow.com/a/14033137/6664393
nans = pd.isnull(df).all(1).nonzero()[0]