(cls, data: bytes)
| 251 | |
| 252 | @classmethod |
| 253 | def from_bytes(cls, data: bytes) -> "ArrowBlockAccessor": |
| 254 | reader = pyarrow.ipc.open_stream(data) |
| 255 | return cls(reader.read_all()) |
| 256 | |
| 257 | @staticmethod |
| 258 | def _build_tensor_row(row: ArrowRow, row_idx: int, col_name: str) -> np.ndarray: |