(self, other, cond, align: bool)
| 467 | |
| 468 | @final |
| 469 | def where(self, other, cond, align: bool) -> Self: |
| 470 | if align: |
| 471 | align_keys = ["other", "cond"] |
| 472 | else: |
| 473 | align_keys = ["cond"] |
| 474 | other = extract_array(other, extract_numpy=True) |
| 475 | |
| 476 | return self.apply( |
| 477 | "where", |
| 478 | align_keys=align_keys, |
| 479 | other=other, |
| 480 | cond=cond, |
| 481 | ) |
| 482 | |
| 483 | @final |
| 484 | def putmask(self, mask, new, align: bool = True) -> Self: |
nothing calls this directly
no test coverage detected