ray.data.block.BlockAccessor.sort_and_partition#

BlockAccessor.sort_and_partition(boundaries: List[T], sort_key: SortKey) List[Block][source]#

Return a list of sorted partitions of this block.