You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "gbrlbrbs (via GitHub)" <gi...@apache.org> on 2024/04/04 13:55:10 UTC
Re: [I] [Python][Parquet] Parquet files created from Pandas dataframes with Arrow-backed list columns cannot be read by pd.read_parquet [arrow]
gbrlbrbs commented on issue #39914:
URL: https://github.com/apache/arrow/issues/39914#issuecomment-2037288071
To add a solution for anyone having the same problem and ended up here, you can do:
```
from pyarrow.parquet import read_table
import pandas as pd
tab = read_table("table.pqt")
df = tab.to_pandas(types_mapper=pd.ArrowDtype, ignore_metadata=True)
```
--
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