Created
January 18, 2024 01:31
-
-
Save deobald/1eeca3a08ca1490f49bb67a0fa31994b to your computer and use it in GitHub Desktop.
Open an Apache Arrow IPC stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyarrow as pa | |
stream = pa.input_stream('streamed.arrow') | |
buf = stream.read() | |
with pa.ipc.open_stream(buf) as reader: | |
schema = reader.schema | |
print(schema) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment