Do an outer merge with indicator=True and return the counts of the _merge column
pandas · from merge and join
pd.mergehow=on=left_on/right_onsuffixesindicatorvalidatePutting the kettle on…
Starting up…
Exercise 4
Do an outer merge with indicator=True and return the counts of the _merge column.
your answer
stuck? the lesson behind it
merge and join
The named side is kept in full — and duplicate keys multiply your rows.