- Let's say we are using the S&P 500 as a proxy for the US Economy
- We want to draw a pie chart to represent the sectors of the economy based on the market value of the stocks in each sector
- Groupby let's us do this quickly
AmberHou1230/Story-telling-with-Investco-ETF-holdings-pie-chart-and-sector-groupby
Which industries' pies are getting smaller?
Jupyter Notebook