Skip to content
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

Showing the percentage would fill a huge need. But... #797

Closed
T-a-c-h-y-o-n opened this issue Sep 6, 2023 · 6 comments
Closed

Showing the percentage would fill a huge need. But... #797

T-a-c-h-y-o-n opened this issue Sep 6, 2023 · 6 comments

Comments

@T-a-c-h-y-o-n
Copy link

T-a-c-h-y-o-n commented Sep 6, 2023

Hi, the work you have uncovered on dtale is truly remarkable. I can't thank you enough. I am aware that this unique app has grown with your efforts and our feedback. With these thoughts, we make some requests. Without further ado...

Showing the percentage in the Describe section met a big need. But calculating percentage is still a challenge. For example, wouldn't it be nice if there was an option called Show Percentage in the GroupBy/Agg: section for numeric colums?

Have a Nice Day

@aschonfeld
Copy link
Collaborator

Can you show me where the "GroupBy/Agg" section is that you're talking about? Sorry, it's been a while

@T-a-c-h-y-o-n
Copy link
Author

ss

@aschonfeld
Copy link
Collaborator

Ahh, I got ya. So you want an option that will calculate the percentage that a specific value occurs and then add that to the dataframe as a new column.

So you could have a dataframe like this after apply this new calculation:

X pct_X
A 0.66
A 0.66
B 0.33

@aschonfeld
Copy link
Collaborator

@T-a-c-h-y-o-n how's this?

count_pct.mov

@T-a-c-h-y-o-n
Copy link
Author

It's great, it'll fill a big need.
I hope we will see this along with the ribbon menu in the new version.
Thank you very much.

@aschonfeld
Copy link
Collaborator

@T-a-c-h-y-o-n just released v3.5.0 to pypi (will be on conda-forge shortly), which includes these changes. Let me know if you have any issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants