Moelf commented on issue #411:
URL: https://github.com/apache/arrow-julia/issues/411#issuecomment-1496684663
to show that `pyarrow` does something different and consistent:
```python
In [8]: import pyarrow.feather, numpy as np, pandas as pd
In [9]: df = pd.DataFrame({"x": [[np.uint8(0)], [np.uint8(1), np.uint8(2)]]})
In [11]: pyarrow.feather.write_feather(df, "/tmp/pyarrow.feather",
compression="uncompressed")
In [12]: pyarrow.feather.read_table("/tmp/pyarrow.feather")["x"]
Out[12]:
<pyarrow.lib.ChunkedArray object at 0x7f80e3f93ec0>
[
[
[
0
],
[
1,
2
]
]
]
```
read it back from Julia
```julia
julia> Arrow.Table("/tmp/pyarrow.feather").x
2-element Arrow.List{Union{Missing, Vector{Union{Missing, UInt8}}}, Int32,
Arrow.Primitive{Union{Missing, UInt8}, Vector{UInt8}}}:
Union{Missing, UInt8}[0x00]
Union{Missing, UInt8}[0x01, 0x02]
```
--
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]