-
-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support non-default indexes in to_parquet #18581
Comments
If I remove the checking code (this is with pyarrow 0.7.1)
We support @dhirschfeld would love a PR. |
Seems a simple fix! Will see about putting in a PR shortly... |
...when supported by the underlying engine. Fixes pandas-dev#18581
...when supported by the underlying engine. Fixes pandas-dev#18581
...when supported by the underlying engine. Fixes pandas-dev#18581
...when supported by the underlying engine. Fixes pandas-dev#18581
...when supported by the underlying engine. Fixes pandas-dev#18581
...when supported by the underlying engine. Fixes pandas-dev#18581
...when supported by the underlying engine. Fixes pandas-dev#18581
Calling
to_parquet
on a DataFrame with a non-default index results in the error below:While, you can work-around this by calling
reset_index()
as the message says, this loses the information about what columns made up the index so means you can't round-trip a DataFrame with a non-default index.Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: