You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "AlenkaF (via GitHub)" <gi...@apache.org> on 2023/06/21 15:06:26 UTC

[GitHub] [arrow] AlenkaF commented on issue #35584: [Python] Converting a python sequence of floats to an arrow integer array silently truncates even when safe=True

AlenkaF commented on issue #35584:
URL: https://github.com/apache/arrow/issues/35584#issuecomment-1601015737

   We created an "umbrella" issue that includes all the issues opened and connected to the Python to array conversion following the code path in `python_to_arrow.cc`. See: https://github.com/apache/arrow/issues/36202.
   
   To sum up:
   1. The first part of the issue reported which is the float truncation: as we are starting from a list the python-sequence code path is taken (`python_to_arrow.cc`) and in case of of float -> int the conversion is unsafe by default (inconsistent with numpy code path). The separate issue to track this is: https://github.com/apache/arrow/issues/36202.
   2. The second part (large integer outside of float range) also has a separate issue created (as already mentioned): https://github.com/apache/arrow/issues/35563


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org