pyarrow.write_tensor

pyarrow.write_tensor(Tensor tensor, NativeFile dest)

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

Parameters:
Returns:

bytes_written (int) – Total number of bytes written to the file