arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes McKinney <>
Subject Re: Pyarrow: best way to store scheme
Date Sun, 11 Aug 2019 15:36:18 GMT
hi Igor -- you can use the Schema.serialize and pyarrow.read_schema methods

For short term storage you can also pickle schemas

I didn't find read_schema in the API reference
( so I opened a
documentation JIRA

- Wes

On Fri, Aug 9, 2019 at 4:47 AM Игорь Ястребов <>
> Hi everyone!
> Is there a recommended way to store schemata for Arrow tables on disk? I want to load
them later to provide information to csv reader (by constructing a dictionary or directly
if it gets implemented in the future). This is necessary to read multiple csv files that follow
the same origin but may get wrong inferred type due to a lack of data in this particular file
(null fields, integer types instead of float types).

View raw message