You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format will NOT write an Index, or MultiIndex for the DataFrame and will raise an error if a non-default one is provided. You can simply .reset_index(drop=True) in order to store the index.
This conflicts with the error messages, which recommends:
you can .reset_index() to make the index into column(s)
Expected Output
AFAIK the error message is correct and the IO docs should remove drop=True:
The format will NOT write an Index, or MultiIndex for the DataFrame and will raise an error if a non-default one is provided. You can simply .reset_index() in order to store the index.
I'm happy to submit a PR for this.
The text was updated successfully, but these errors were encountered:
Yes, the drop=True indeed seems incorrect if the goal is to store the index (or you could mention both options: drop=True to ignore the index). PR very welcome!
Problem description
The Parquet section of the IO docs mentions the following caveat:
This conflicts with the error messages, which recommends:
Expected Output
AFAIK the error message is correct and the IO docs should remove
drop=True
:I'm happy to submit a PR for this.
The text was updated successfully, but these errors were encountered: