You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Bryan Cutler (Jira)" <ji...@apache.org> on 2020/10/09 23:50:00 UTC

[jira] [Created] (ARROW-10260) [Python] Missing MapType to Pandas dtype

Bryan Cutler created ARROW-10260:
------------------------------------

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


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)