Skip to content

Python code snippet – How to remove rows with NaN in pandas?

df = df[df['EPS'].notna()]
See also  Python code snippet - How to change a header in pandas?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.