The startups table contains funding rounds by sector.
Return sector, total_funding for each sector. Sort by sector ascending.
These DataFrames are passed to solve(spark, dfs). Access one with dfs['name'].
startups6 rows| startup_id (int) | sector (string) | funding (double) |
|---|---|---|
| 1 | Fintech | 100 |
| 2 | Health | 50 |
| 3 | Fintech | 25 |
| 4 | Education | 75 |
| 5 | Health | 15 |
| 6 | SaaS | 200 |
Column names and order must match. Sort order is specified in the question.