how to iterate through rows of a dataframe and check whether value in a column row is nan,df[df['Column2'].notnull()]