pitrou commented on issue #13787: URL: https://github.com/apache/arrow/issues/13787#issuecomment-1204872660
Regardless, yes, you can write to shared memory using PyArrow: ```python >>> buffer = sharedctypes.RawArray(ctypes.c_uint8, capacity + 1) >>> tensor = pa.Tensor.from_numpy(data) >>> out = pa.FixedSizeBufferWriter(pa.py_buffer(buf)) >>> pa.ipc.write_tensor(tensor, out) 418112 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
