-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
ARROW-10643: [Python] Pandas<->pyarrow roundtrip failing to recreate index for empty dataframe #12081
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
@jorisvandenbossche could you give a final look at this PR please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Benchmark runs are scheduled for baseline = 8254615 and contender = cec5a17. cec5a17 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
This is a revert of ARROW-10643 (#12081), but I think the bug fix of that PR is less important than getting this regression fixed (I left the test that was added, but with an xfail) Closes #12189 from jorisvandenbossche/ARROW-15370 Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
This PR adds a check to the
_reconstruct_index
inpandas_compat.py
so that the roundtrip is correct for an emptypandas.DataFrame
with and index.