You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2020/10/10 11:22:00 UTC
[jira] [Resolved] (ARROW-10260) [Python] Missing MapType to Pandas
dtype
[ https://issues.apache.org/jira/browse/ARROW-10260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Szucs resolved ARROW-10260.
-------------------------------------
Resolution: Fixed
Issue resolved by pull request 8422
[https://github.com/apache/arrow/pull/8422]
> [Python] Missing MapType to Pandas dtype
> ----------------------------------------
>
> Key: ARROW-10260
> URL: https://issues.apache.org/jira/browse/ARROW-10260
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Bryan Cutler
> Assignee: Derek Marsh
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The Map type conversion to Pandas done in ARROW-10151 forgot to add dtype mapping for {{to_pandas_dtype()}}
>
> {code:java}
> In [2]: d = pa.map_(pa.int64(), pa.float64()) In [3]: d.to_pandas_dtype()
> ---------------------------------------------------------------------------
> NotImplementedError Traceback (most recent call last)
> <ipython-input-3-08beaa635a3e> in <module>
> ----> 1 d.to_pandas_dtype()~/miniconda2/envs/pyarrow-test/lib/python3.7/site-packages/pyarrow/types.pxi in pyarrow.lib.DataType.to_pandas_dtype()NotImplementedError: map<int64, double>{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)