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

[Python] Support ExtentionType on conversion to numpy/pandas

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Python
    • Labels:
      None

      Description

      Currently converting a Table of RecordBatch with an ExtensionType array to pandas gives:

      ArrowNotImplementedError: No known equivalent Pandas block for Arrow data of type extension<arrow.py_extension_type> is known.
      

      And similarly converting the array itself to a python object (to_pandas or to_pylist) gives an ArrowNotImplementedError or a "KeyError: 28"

      Initial support could be to fall back to the storage type.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jorisvandenbossche Joris Van den Bossche
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: