Boolean mask
Also: mask, filter
Python tools
An array or column of True/False values used to select rows. The mean of a mask is the share of True values.
Examplehigh = charges > 80 selects high payers; churned[high].mean() is the share of them who left.
