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

Wenchen Fan commented on ARROW-1156:
------------------------------------

I just realized {{pyarrow.Array.from_pandas}} do have a type parameter by 
looking at source code, guys can you fix the official document 
https://arrow.apache.org/docs/python/generated/pyarrow.Array.html#pyarrow.Array 
? It has style issues, and doesn't mention the type parameter, and has no 
explanation for the parameters.

> pyarrow.Array.from_pandas should take a type parameter
> ------------------------------------------------------
>
>                 Key: ARROW-1156
>                 URL: https://issues.apache.org/jira/browse/ARROW-1156
>             Project: Apache Arrow
>          Issue Type: New Feature
>    Affects Versions: 0.4.0
>            Reporter: Wenchen Fan
>
> It's convenient to infer the data type so that users can just write 
> {{pyarrow.Array.from_pandas(arr)}}, however, sometimes users want 
> fine-grained control, e.g., if we have an object type numpy array, whose 
> values are all null. When we convert it to an arrow column vector, we may 
> need a specific type instead of NullType.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to