8000 proposed addition of a df.agg stacked go.bar example by rl-utility-man · Pull Request #4546 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

proposed addition of a df.agg stacked 8000 go.bar example #4546

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

Merged
merged 7 commits into from
Apr 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update bar-charts.md
  • Loading branch information
rl-utility-man authored Mar 14, 2024
commit 32a2c0cc2950eab38b78b606b08849bedc6adf62
2 changes: 1 addition & 1 deletion doc/python/bar-charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ fig.show()

### Stacked Bar Chart from aggregating a data frame

Stacked bar charts are a powerful way to present results summarizing categories generated using the Pandas aggregate commands, which produce a wide format data set with one row for each bar component and a column for each bar, which is the transpose of the orientation of the px.bar wide data frame. Tranposing and updating the indexes is a somewhat involved option. Here is one straightforward way to aggregate a data set into a summarized form and present the results as a stacked bar.
Stacked bar charts are a powerful way to present results summarizing categories generated using the Pandas aggregate commands. DF.agg() which produces a wide format data set with one row for each bar component and a column for each bar, which is the transpose of the orientation of the px.bar wide data frame. Tranposing and updating the indexes is a somewhat involved option. Here is one straightforward way to aggregate a data set into a summarized form and present the results as a stacked bar.

```

Expand Down
0