df[df.isnull().any(axis=1)]
#return a subset of the dataframe where the column name value == NaN
df.loc[df['column name'].isnull() == True]
df.isnull().sum().sum()
5
> df.isnull().any().any()
True
# to mark NaN column as True
df['your column name'].isnull()
for i, row in df.iterrows():
value = row["Name"]
if pd.isnull(value):
dosomething()
df.fillna(method='ffill')