remove duplicate panda rows code example Example: pandas remove repeated index df[~df.index.duplicated()]