| 1202 | |
| 1203 | |
| 1204 | class _SetPartitionsPreSetIndex(Blockwise): |
| 1205 | _parameters = ["frame", "new_divisions", "ascending", "na_position"] |
| 1206 | _defaults = {"ascending": True, "na_position": "last"} |
| 1207 | operation = staticmethod(set_partitions_pre) |
| 1208 | _is_length_preserving = True |
| 1209 | |
| 1210 | @functools.cached_property |
| 1211 | def _meta(self): |
| 1212 | return make_meta(self.frame._meta._constructor([0])) |
| 1213 | |
| 1214 | |
| 1215 | class _SetIndexPost(Blockwise): |