jorisvandenbossche commented on code in PR #49247:
URL: https://github.com/apache/arrow/pull/49247#discussion_r2797549228
##########
python/pyarrow/array.pxi:
##########
@@ -2308,6 +2308,13 @@ cdef _array_like_to_pandas(obj, options, types_mapper):
dtype = "object"
elif types_mapper:
dtype = types_mapper(original_type)
+ elif _pandas_api.uses_string_dtype() and (
Review Comment:
```suggestion
elif _pandas_api.uses_string_dtype() and not strings_to_categorical and (
```
like we do in the other place with this logic (which Raul quoted), only that
you will have to get the option value out of the `options` object
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]