not nan pandas dataframe filter code example Example: pandas filter non nan filtered_df = df[df['name'].notnull()]