I am trying to filter out some rows by a condition value:
_a = my_df[my_df['A'] < 0.01]
But it also filters out rows with empty values. What I want is to filter rows that satisfy that condition and also keep empty values.
I am trying this but returns 0 rows. What I am doing wrong?
_a = my_df[pd.isnull(my_df['A']) | my_df['A'] < 0.01]
Thank you in advance!