You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Phillip Cloud (JIRA)" <ji...@apache.org> on 2017/03/30 20:41:41 UTC
[jira] [Assigned] (ARROW-736) [Python] Mixed-type object DataFrame
columns should not silently coerce to an Arrow type by default
[ https://issues.apache.org/jira/browse/ARROW-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phillip Cloud reassigned ARROW-736:
-----------------------------------
Assignee: Phillip Cloud
> [Python] Mixed-type object DataFrame columns should not silently coerce to an Arrow type by default
> ---------------------------------------------------------------------------------------------------
>
> Key: ARROW-736
> URL: https://issues.apache.org/jira/browse/ARROW-736
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Wes McKinney
> Assignee: Phillip Cloud
> Fix For: 0.3.0
>
>
> {code}
> In [4]: df = pd.DataFrame({'a': ['a', 1, 2.0]})
> In [5]: df
> Out[5]:
> a
> 0 a
> 1 1
> 2 2
> In [6]: pt = pa.Table.from_pandas(df)
> In [7]: pt.to_pandas()
> Out[7]:
> a
> 0 a
> 1 None
> 2 None
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)