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

[GitHub] [arrow] jorisvandenbossche commented on issue #35584: [Python] Creating integer array with floating value succeeds

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

   @westonpace we are mixing two things here, I think. The top post has two examples: float truncation and large integer outside of float range. My answer was to comments from @zfoobar about the second example (e.g. https://github.com/apache/arrow/issues/35584#issuecomment-1550335682), but the title is about the first example (making this a confusing mixed discussion). 
    
   I fully agree that the float truncation does not match the C++ casting semantics of safe by default (and that's the general underlying issue: the python_to_arrow.cc code path doesn't implement the different notions of `safe=True` vs `safe=False`)


-- 
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