You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/06/03 13:01:00 UTC

[jira] [Updated] (ARROW-1156) [Python] pyarrow.Array.from_pandas should take a type parameter

     [ https://issues.apache.org/jira/browse/ARROW-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou updated ARROW-1156:
----------------------------------
    Component/s: Python

> [Python] 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
>          Components: Python
>    Affects Versions: 0.4.0
>            Reporter: Wenchen Fan
>            Assignee: Wes McKinney
>            Priority: Major
>             Fix For: 0.7.0
>
>
> 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
(v7.6.3#76005)