jorisvandenbossche commented on code in PR #49088:
URL: https://github.com/apache/arrow/pull/49088#discussion_r2747150383


##########
docs/source/python/data.rst:
##########
@@ -684,7 +684,7 @@ When using :class:`~.DictionaryArray` with pandas, the 
analogue is
    6    NaN
    7    baz
    dtype: category
-   Categories (3, object): ['foo', 'bar', 'baz']
+   Categories (3, ...): ['foo', 'bar', 'baz']

Review Comment:
   FWIW, I think if we know the doctests will run on an instance with 
pandas>=3, I would just update those to use pandas 3 output, because that will 
be less confusing for people reading the docs ("what do those 3 dots mean 
here?").
   
   
   ```suggestion
      Categories (3, str): ['foo', 'bar', 'baz']
   ```



-- 
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]

Reply via email to