Querying for NaN and other names in Pandas

According to this answer you can use:

df.query('value < 10 | value.isnull()', engine="python")

I verified that it works.

Leave a Comment