raulcd commented on issue #47022: URL: https://github.com/apache/arrow/issues/47022#issuecomment-3106299343
Yes, I can see this is indeed not supported: https://github.com/apache/arrow/blob/bb33493bd34dcd21d71b6b942203992e67f5ef3c/python/pyarrow/src/arrow/python/arrow_to_pandas.cc#L2026-L2032 @WillAyd do you know if there's any reason for arrow to pandas to not support this? or is just a matter of someone to do the work? I am putting the full traceback because it's easier to understand what happens. ```python >>> pdf = arrow_table.to_pandas() Traceback (most recent call last): File "<python-input-2>", line 1, in <module> pdf = arrow_table.to_pandas() File "pyarrow/array.pxi", line 987, in pyarrow.lib._PandasConvertible.to_pandas File "pyarrow/table.pxi", line 5174, in pyarrow.lib.Table._to_pandas File "/home/raulcd/miniforge3/envs/py13/lib/python3.13/site-packages/pyarrow/pandas_compat.py", line 808, in table_to_dataframe result = pa.lib.table_to_blocks(options, table, categories, list(ext_columns_dtypes.keys())) File "pyarrow/table.pxi", line 4103, in pyarrow.lib.table_to_blocks File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status pyarrow.lib.ArrowTypeError: Converting unsigned dictionary indices to pandas not yet supported, index type: uint16 ``` cc @AlenkaF -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org