-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: support Categorical hist plotting #8712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't know if that should work. The natural way to plot a categorical in something hist-like is using a barplot with the frequency of each category I think ( Also, in R:
So maybe we should rather have a better error message here? (which also holds True for string series):
So maybe we should check for numeric dtype in |
What do you think about making |
Hi, newb here. I was going to submit a bug report, but I found this. It does seem the same, but before I walk away without reporting, I wanted to make sure that my issue is actually different: The docs for
However, what is displayed is a set of histograms for numerical data only. This lead me to believe that maybe
results in a beautiful histogram. I also tried calling
And also got great results. Again, not trying to step on any toes, just a new programmer trying to contribute. Let me know if this issue is already covered here :) |
This raises
This works
I think this should work, beyond this, anyone have ideas on what/how to plot categorical data?
cc @JanSchulz
cc @TomAugspurger
cc @jorisvandenbossche
The text was updated successfully, but these errors were encountered: