how to drop duplicate from dataframe taking into account value of another column,"df.drop_duplicates('name', keep='last')"