pyarrow.ipc.write_tensor

pyarrow.ipc.write_tensor(Tensor tensor, NativeFile dest)

Write pyarrow.Tensor to pyarrow.NativeFile object its current position.

Parameters:
tensorpyarrow.Tensor
destpyarrow.NativeFile
Returns:
bytes_writtenint

Total number of bytes written to the file