(self)
| 389 | duplicates: Literal["raise", "drop"] = "raise" |
| 390 | |
| 391 | def reset(self) -> Self: |
| 392 | return type(self)( |
| 393 | bins=self.bins, |
| 394 | right=self.right, |
| 395 | labels=self.labels, |
| 396 | precision=self.precision, |
| 397 | include_lowest=self.include_lowest, |
| 398 | duplicates=self.duplicates, |
| 399 | ) |
| 400 | |
| 401 | def __post_init__(self) -> None: |
| 402 | if array_all(isnull(self.bins)): |