The booking sheet stores stall names in a column rather than in its index. A key is the value used to find the corresponding record in another table. Here on="stall" tells merge which column holds that key; a is the left table and b is the right table.
The starter uses an inner merge, which keeps only keys found on both sides. A left merge keeps every booking and adds vendor information where it exists. After the change, Lark still has Ari as its vendor, and Unknown remains with missing vendor information. A right merge keeps the right-side keys; an outer merge keeps keys from either side.
These lookup keys are unique. Repeated matches can create extra rows, which we will check in the next pair of lessons. Also, pandas can match missing keys to each other: clean or investigate missing identifiers before merging. A missing vendor is not evidence that the booking itself is invalid.
Edit main.py, press Run to inspect the result, then Submit to check each task.
how="inner" to how="left" in attach_vendors.The pandas merge documentation gives the full argument details and more examples.
The how argument controls which keys survive; on names the column to match.