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

Issue 52827: Added xfail for pyarrow int64 rounding #52858

Closed
wants to merge 4 commits into from

Conversation

szczekulskij
Copy link

@szczekulskij szczekulskij commented Apr 23, 2023

@szczekulskij szczekulskij changed the title add xfail for pyarrow int64 rounding Issue 52827: Added xfail for pyarrow int64 rounding Apr 23, 2023
with tm.ensure_clean("__tmp_to_csv_from_csv3__") as path:
# GH 52827
pytest.importorskip("pyarrow")
pd.DataFrame({"x": ["1372636858620000589"]}).to_csv(path, index=False)
Copy link
Member

Choose a reason for hiding this comment

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

Please avoid roundtripping through csv

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the feedback.

Updated - checked locally and it throws the right error:
pyarrow.lib.ArrowInvalid: Integer value 1372636858620000589 not in range: -9007199254740992 to 9007199254740992

@szczekulskij
Copy link
Author

Hi @phofl, can I ask for a second review ?

@mroeschke
Copy link
Member

Feel free to reopen when you have time to circle back here

@mroeschke mroeschke closed this Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: int64[pyarrow] throws error when rounded
3 participants