(self, cond, other=np.nan)
| 1981 | |
| 1982 | @derived_from(pd.DataFrame) |
| 1983 | def mask(self, cond, other=np.nan): |
| 1984 | cond = self._create_alignable_frame(cond) |
| 1985 | other = self._create_alignable_frame(other) |
| 1986 | cond = cond.expr if isinstance(cond, FrameBase) else cond |
| 1987 | other = other.expr if isinstance(other, FrameBase) else other |
| 1988 | return new_collection(self.expr.mask(cond, other)) |
| 1989 | |
| 1990 | @derived_from(pd.DataFrame) |
| 1991 | def replace(self, to_replace=None, value=no_default, regex=False): |
nothing calls this directly
no test coverage detected