[ 
https://issues.apache.org/jira/browse/ARROW-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16862275#comment-16862275
 ] 

Joris Van den Bossche commented on ARROW-2298:
----------------------------------------------

I am not sure I fully understand your question. I am passing a numpy array to 
{{pa.array}}, and creating a numpy array with np.nan or None ({{np.array([1, 2, 
None], dtype=float)}} or {{np.array([1, 2, np.nan], dtype=float)}}) give the 
same float64 numpy array. 

Also if you have a pandas object like {{pd.Series([1, 2, None])}} this will 
actually be stored as a float array with np.nan.

> [Python] Add option to not consider NaN to be null when converting to an 
> integer Arrow type
> -------------------------------------------------------------------------------------------
>
>                 Key: ARROW-2298
>                 URL: https://issues.apache.org/jira/browse/ARROW-2298
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Wes McKinney
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.14.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Follow-on work to ARROW-2135



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to