using nan frilter pandas code example
Example 1: pandas nan values in column
df['your column name'].isnull()
Example 2: pandas where retuning NaN
# Try using a loc instead of a where:
df_sub = df.loc[df.yourcolumn == 'yourvalue']
df['your column name'].isnull()
# Try using a loc instead of a where:
df_sub = df.loc[df.yourcolumn == 'yourvalue']