BUG: repr of Categorical does not distinguish int and str. #33676
Labels
API Design
Bug
Categorical
Categorical Data Type
Needs Discussion
Requires discussion from core team before further action
Output-Formatting
__repr__ of pandas objects, to_string
Milestone
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Problem description
does not show the string elements quoted. This is inconsistent with numpy.
Expected Output
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here leaving a blank line after the details tag]The text was updated successfully, but these errors were encountered: