You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:17:04 UTC
[jira] [Commented] (ARROW-1751) [Python] Pandas 0.21.0 introduces a breaking API change for MultiIndex construction
[ https://issues.apache.org/jira/browse/ARROW-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658782#comment-17658782 ]
Rok Mihevc commented on ARROW-1751:
-----------------------------------
This issue has been migrated to [issue #17754|https://github.com/apache/arrow/issues/17754] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details.
> [Python] 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
> Priority: Major
> Labels: pull-request-available
> 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
(v8.20.10#820010)