python - How to drop rows of Pandas DataFrame whose value in a certain column is NaN - Stack Overflow

PHOTO EMBED

Wed Aug 26 2020 10:01:20 GMT+0000 (Coordinated Universal Time)

Saved by @arielvol #python

df = df[df['EPS'].notna()]
content_copyCOPY

https://stackoverflow.com/questions/13413590/how-to-drop-rows-of-pandas-dataframe-whose-value-in-a-certain-column-is-nan