- class ray.data.block.BlockMetadata(num_rows: int | None, size_bytes: int | None, schema: type | pyarrow.lib.Schema | None, input_files: List[str] | None, exec_stats: BlockExecStats | None)#
Metadata about the block.
DeveloperAPI: This API may change across minor Ray releases.
The number of rows contained in this block, or None.
The approximate size in bytes of this block, or None.
The pyarrow schema or types of the block elements, or None.
The list of file paths used to generate this block, or the empty list if indeterminate.
Execution stats for this block.