You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Moelf (via GitHub)" <gi...@apache.org> on 2023/04/04 22:47:42 UTC
[GitHub] [arrow-julia] Moelf commented on issue #414: Does `Arrow.write` have an upper limit for the number of columns?
Moelf commented on issue #414:
URL: https://github.com/apache/arrow-julia/issues/414#issuecomment-1496693459
seems fine with `pyarrow`
```python
In [1]: import pyarrow.feather, numpy as np, pandas as pd
In [3]: df = pd.DataFrame({f"col_{k}": np.random.rand(100) for k in range(65538)})
In [4]: pyarrow.feather.write_feather(df, "/tmp/wide.feather", compression="uncompressed")
In [6]: pyarrow.feather.read_table("/tmp/wide.feather")["col_65537"]
Out[6]:
<pyarrow.lib.ChunkedArray object at 0x7fd528293c90>
[
[
0.3791875035442084,
0.5547163201551565,
0.13564446518017992,
0.4183265184379561,
0.8100731859852923,
...
0.6820512183941593,
0.6142216465909046,
0.7692441575177542,
0.07715418533522123,
0.38896656434696375
]
]
```
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org