SyntaxFix
Write A Post
Hire A Developer
Questions
def nans(df): return df[df.isnull().any(axis=1)]
then when ever you need it you can type:
nans(your_dataframe)