Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

AlenkaF
Copy link
Member

@AlenkaF AlenkaF commented Jan 5, 2022

This PR adds a check to the _reconstruct_index in pandas_compat.py so that the roundtrip is correct for an empty pandas.DataFrame with and index.

@github-actions
Copy link

github-actions bot commented Jan 5, 2022

Copy link
Member

@rok rok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@AlenkaF
Copy link
Member Author

AlenkaF commented Jan 18, 2022

@jorisvandenbossche could you give a final look at this PR please?

Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@ursabot
Copy link

ursabot commented Jan 18, 2022

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.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed ⬇️0.0% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.13% ⬆️0.0%] ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python. Runs only benchmarks with cloud = True
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@AlenkaF AlenkaF deleted the ARROW-10643 branch January 18, 2022 09:10
kszucs pushed a commit that referenced this pull request Jan 19, 2022
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants