All pandas problems
MediumJoin
Merge two tables
Join a sales table with a city → region lookup table on the city column. This is how every real dashboard is built.
- #merge
- #inner-join
Sample input
sales (6 rows) + regions (4 rows)
Sample output
6 rows now have a "region" column
pd-merge.pyneeds: pandas
Output
Press "Run code" to execute.
