remove row with nan data ython code example
Example 1: drop if nan in column pandas
df = df[df['EPS'].notna()]
Example 2: how to delete nan values in python
x = x[~numpy.isnan(x)]
df = df[df['EPS'].notna()]
x = x[~numpy.isnan(x)]