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

Phillip Cloud updated ARROW-1751:
---------------------------------
    Description: 
Pandas 0.21.0:
{code}
In [10]: pd.__version__
Out[10]: '0.21.0'

In [11]: pd.MultiIndex.from_tuples([('a',), ('b',)])
Out[11]:
MultiIndex(levels=[['a', 'b']],
           labels=[[0, 1]])
{code}

Pandas 0.20.3
{code}
In [2]: pd.__version__
Out[2]: '0.20.3'

In [3]: pd.MultiIndex.from_tuples([('a',), ('b',)])
Out[3]: Index(['a', 'b'], dtype='object')
{code}

> Pandas 0.21.0 introduces a breaking API change for MultiIndex construction
> --------------------------------------------------------------------------
>
>                 Key: ARROW-1751
>                 URL: https://issues.apache.org/jira/browse/ARROW-1751
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.7.1
>            Reporter: Phillip Cloud
>            Assignee: Phillip Cloud
>             Fix For: 0.8.0
>
>
> Pandas 0.21.0:
> {code}
> In [10]: pd.__version__
> Out[10]: '0.21.0'
> In [11]: pd.MultiIndex.from_tuples([('a',), ('b',)])
> Out[11]:
> MultiIndex(levels=[['a', 'b']],
>            labels=[[0, 1]])
> {code}
> Pandas 0.20.3
> {code}
> In [2]: pd.__version__
> Out[2]: '0.20.3'
> In [3]: pd.MultiIndex.from_tuples([('a',), ('b',)])
> Out[3]: Index(['a', 'b'], dtype='object')
> {code}



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

Reply via email to