Retirez la ligne en double en DF
df = df.drop_duplicates()
Sachin
df = df.drop_duplicates()
df[~df.index.duplicated()]
df3 = df3[~df3.index.duplicated(keep='first')]