Try explicitly cast to boolean or float first
boolean
float
mask_diff =outage_mask.diff().astype("boolean").fillna(False) outage_mask.loc[mask_diff]