(self)
| 1001 | _filter_passthrough = True |
| 1002 | |
| 1003 | def _divisions(self): |
| 1004 | if self.frame.npartitions == 1: |
| 1005 | # Protect against triggering calculations when we only have one division |
| 1006 | return (None, None) |
| 1007 | |
| 1008 | divisions, mins, maxes, presorted = _get_divisions( |
| 1009 | self.frame, |
| 1010 | self.frame[self.by[0]], |
| 1011 | self._npartitions_input, |
| 1012 | self._divisions_ascending, |
| 1013 | upsample=self.upsample, |
| 1014 | ) |
| 1015 | if presorted: |
| 1016 | return self.frame.divisions |
| 1017 | return (None,) * len(divisions) |
| 1018 | |
| 1019 | @property |
| 1020 | def _divisions_ascending(self) -> bool: |
no test coverage detected