📅  最后修改于: 2022-03-11 14:46:07.539000             🧑  作者: Mango
# this is based on 2 factors the name of the dog and the breed of the dog so we can
# have 2 dog with the same name but diff breed.
df.drop_duplicates(subset=["name", "breed"])
# Without including index
df.drop_duplicates(subset=["name", "breed"], index = False)