Frage im Vorstellungsgespräch bei Farmers Insurance Group

How do you find duplicate values in a dataset (describe using Python or R)