(self, cond, other=np.nan)
| 388 | return Where(self, cond=cond, other=other) |
| 389 | |
| 390 | def mask(self, cond, other=np.nan): |
| 391 | if not are_co_aligned(self, *[c for c in [cond, other] if isinstance(c, Expr)]): |
| 392 | return MaskAlign(self, cond=cond, other=other) |
| 393 | return Mask(self, cond=cond, other=other) |
| 394 | |
| 395 | def apply(self, function, *args, meta=None, **kwargs): |
| 396 | return Apply(self, function, args, meta, kwargs) |