how can i check all the values of dataframe whether have null values in them without a loop
This gives you all a columns and how many null values they have.
df = pd.DataFrame({0:[1,2,None,],1:[2,3,None])
df.isnull().sum()
if all(data_Window['CI']!=np.nan):
I have used the all() function with if so that if column CI has no NA values, then it will do some operation. But i got syntax error.