Skip to content

Glossary: pandas Basics

query

Also written: .query()

Takes a filter condition as a string, using column names directly and the words `and`, `or` and `not`. It is shorter, but your editor can't check inside the string.

Where the book teaches it

Related terms

Boolean filter (mask)