Concat march[["city", "cups"]] with april[["city", "rating"]], keeping only the…
pandas · from Stacking tables with concat
pd.concatignore_indexaxis=1join=keys=index.is_uniquePutting the kettle on…
Starting up…
Exercise 3
Concat march[["city", "cups"]] with april[["city", "rating"]], keeping only the columns present in both.
your answer
stuck? the lesson behind it
Stacking tables with concat
No keys, no matching — and two traps that come free with alignment.