how to find duplicates from a pandas dataframe, based on 2 columns code example
Example: remove duplicates based on two columns in dataframe
df.drop_duplicates(['A','B'],keep= 'last')
df.drop_duplicates(['A','B'],keep= 'last')