python_reference
python_reference copied to clipboard
df.query() as an alternative to chained conditions
Thanks for collecting your useful notes.
I wanted to share the use of df.query() which offers the side benefit of being able more easily to construct your conditions based on a specific criteria.