Wes McKinney created ARROW-736:
----------------------------------

             Summary: [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


{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)

Reply via email to