Boolean outlier mask, True where Isolation Forest flags a cell.
This is the module’s single detector primitive: every other outlier view derives from it (labels np.where(mask[col], -1, 1), counts mask.sum(), values data.where(mask)). One :class:IsolationForest estimator is fitted per column, independently, in column order, with a fresh estimator per column so flagging one column never influences another.
Columns to fit. None (default) fits every column of data. When given, only the named columns are fitted; the returned mask is still full-width (same index and columns as data), with False everywhere outside columns.
pd.DataFrame: A boolean frame with the same index and columns as data. True marks a cell Isolation Forest flagged as an outlier. Columns not selected via columns are all-False.