ray.data.block.BlockAccessor.batch_to_block#
- classmethod BlockAccessor.batch_to_block(batch: pyarrow.Table | pandas.DataFrame | Dict[str, numpy.ndarray], block_type: BlockType | None = None) pyarrow.Table | pandas.DataFrame [源代码]#
从面向用户的数据格式创建一个块。
站点导航
从面向用户的数据格式创建一个块。