I have a data frame and I want do a null check and store the null value rows in separate data frame. But, one constrain is, I don't want to do null check for one particular column. How can I achieve this?
For example, In below Data Frame,
Name Age Class
0 tom 10 NaN
1 nick 15 10
2 juli 14 9
If I apply, df[df.isnull().any(axis=1)], It gives me
Name Age Class
0 tom 10 NaN
But, I want don't want to do null check for Class column and I'm expecting empty data frame for this case. I have searched in SO but couldn't find the solution.