Hapus duplikat berdasarkan dua kolom di DataFrame
df.drop_duplicates(['A','B'],keep= 'last')
Sachin
df.drop_duplicates(['A','B'],keep= 'last')
df = df.loc[:,~df.columns.duplicated()]
concat = pd.merge(data_1, data_2, how='inner')