You track the whereabouts of 100 individuals in a DataFrame called whereabouts. Each person has a corresponding list of place ids indicating the places they’ve visited in the recent week. You also track which places have been exposed to COVID-19 in a list called exposed 😷.
For each person, identify the places they visited which have been exposed. Make this a new list-column in whereabouts called exposures.