How to filter dataframe rows with a boolean mask?

new_df = df[mask, :]
1 Like