-
Notifications
You must be signed in to change notification settings - Fork 41
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
Histograms in Table 1 #132
Comments
Yes! I assume this is https://cran.r-project.org/web/packages/skimr/vignettes/skimr.html? Looks like it might be possible to do this with Pandas DataFrames, e.g.: |
I think the histograms are represented as text: Seems to be unicode characters: |
Yeah, it looks like these would require each column to be mapped to an 1/8th: https://www.compart.com/en/unicode/block/U+2580. Seems doable... |
Just want to let you guys know that |
Very cool, thanks Martin, we'll check this out! I haven't come across Skimpy before. |
Glad to hear it! I know this isn't on topic, but just want to say I spent 1,5 days implementing something like |
@MartinBernstorff thanks for your kind words and I'm glad to hear it has been helpful! We've neglected the package recently so I'm hoping to spend a little time soon making some much needed updates, fixes, etc. |
I'm not clear what to do in the case where a groupby variable is specified. Do we: (1) plot a distribution for each separate group, i.e. if there are 4 groups, add 4 columns each with a separate histogram; or (2) plot a single histogram of the overall distribution of the variable? Any preference @DocEd? |
Tom, i'm delighted that you saw this and picked it up! I imagine an extra histogram column per group, and if there is space, an overall histogram column at the end. a little like histospark works in R (i think a hadley wickham package). Or if space was at a premium, the summary numbers could be given as normal, and a soft background image of the histogram behind the text within the table cell could be used. |
just seen the rest of this thread. yep, exactly like above. |
Not sure how easy this would be to implement, but making a note of this idea: https://twitter.com/DocEd/status/1572603047590916097
The text was updated successfully, but these errors were encountered: