Enforce the current divisions at runtime. Injects a layer into the Task Graph that checks that the current divisions match the expected divisions at runtime.
(self)
| 1636 | return result |
| 1637 | |
| 1638 | def enforce_runtime_divisions(self): |
| 1639 | """Enforce the current divisions at runtime. |
| 1640 | |
| 1641 | Injects a layer into the Task Graph that checks that the current divisions |
| 1642 | match the expected divisions at runtime. |
| 1643 | """ |
| 1644 | if not self.known_divisions: |
| 1645 | raise ValueError("No known divisions to enforce!") |
| 1646 | return new_collection(expr.EnforceRuntimeDivisions(self)) |
| 1647 | |
| 1648 | @derived_from(pd.DataFrame) |
| 1649 | def skew( |