ray.data.block.BlockAccessor.merge_sorted_blocks#
- static BlockAccessor.merge_sorted_blocks(blocks: List[Block], sort_key: SortKey) Tuple[pyarrow.Table | pandas.DataFrame, BlockMetadata] [source]#
Return a sorted block by merging a list of sorted blocks.