how to delete a line with none in a pandas column code example Example: drop if nan in column pandas df = df[df['EPS'].notna()]