Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10260

[Python] Missing MapType to Pandas dtype

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Python

    Description

      The Map type conversion to Pandas done in ARROW-10151 forgot to add dtype mapping for to_pandas_dtype()

       

      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>

      Attachments

        Issue Links

          Activity

            People

              admrsh Derek Marsh
              bryanc Bryan Cutler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m