@Jfrick100 wrote:
I have a bar chart, and on the individual bars, I see little segments that I assume means I have a stacked bar chart.
My data is city, month, and sales. My x values are city, and my y values are sales. I do not show month on the chart at all.
There are 7 segments in each city’s bar, so I think these are the monthly sales for that city.
How can I get display just the total sales for the ciy and not the individual segments?
I know I can create another dataframe, drop month, and groupby city, But I am trying to limit the number of dataframes I have.
IS there a Plotly or Dash setting to do this? Or if I need to do it in the dataframe, is there a way to create a temporary, i.e.non memory, way, in Pandas?
Thanks
Posts: 4
Participants: 2






