You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Bryan Cutler (Jira)" <ji...@apache.org> on 2020/10/10 02:49:00 UTC
[jira] [Commented] (ARROW-10260) [Python] Missing MapType to Pandas
dtype
[ https://issues.apache.org/jira/browse/ARROW-10260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211521#comment-17211521 ]
Bryan Cutler commented on ARROW-10260:
--------------------------------------
Should be a quick fix, so marking this for 2.0.0
> [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
> Priority: Major
> Fix For: 2.0.0
>
>
> 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)