[
https://issues.apache.org/jira/browse/ARROW-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928987#comment-15928987
]
Wes McKinney commented on ARROW-488:
------------------------------------
After ARROW-618, this functionality should be more easily achievable through
syntax like
{code:language=python}
Array.from_pandas(float_data, type=int64())
{code}
This would raise an exception on any values that are not safe to case (absolute
value exceeding 2^53)
> [Python] Implement conversion between integer coded as floating points with
> NaN to an Arrow integer type
> --------------------------------------------------------------------------------------------------------
>
> Key: ARROW-488
> URL: https://issues.apache.org/jira/browse/ARROW-488
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Python
> Reporter: Wes McKinney
>
> For example: if pandas has casted integer data to float, this would enable
> the integer data to be recovered (so long as the values fall in the ~2^53
> floating point range for exact integer representation)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)