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