Pandas Query (Filter Data) | df.query()

Опубликовано: 12 Август 2020
на канале: Greg Kamradt
14,821
329

https://dataindependent.com/pandas/pa...

Pandas Query, the way to filter your data you haven't heard of. Well I guess you have because you're here.

Pandas DataFrame.query() will filter the rows of your DataFrame with a True/False (boolean) expression. This is super helpful when filtering your data.

pandas.DataFrame.query('your_query_expression')