009be Slicing pandas DataFrame rows by boolean condition
Channel: Steve Baskauf
Date: 2022-11-15

We generate a Series of boolean conditions to  pass into .loc in order to selectively slice rows of a DataFrame.