Pandas Dataframe return rows where state, city, and date occur multiple times

Firstly, this is my first post, so my apologies if it is formatted poorly. So I have this dataframe which I have attached a picture of. It contains UFO sightings and I want to return the rows where the if the city and state are the same and then also if the dates are the same. I am trying to find sightings that occurred on the same day in the same city and state. Please let me know if more info is required. Thank you in advance!

Read More…
Pandas Dataframe return rows where state, city, and date occur multiple times

Updated: May 21, 2022 — 10:27 pm