How to find duplicate names using pandas?,x.set_index('name').index.get_duplicates()