python dataframe cell in one row is not nan code example
Example 1: show all rows with nan for a column value pandas
df[df['col'].isnull()]
Example 2: pandas if nan, then the row above
df.fillna(method='ffill')
df[df['col'].isnull()]
df.fillna(method='ffill')