I have a dataframe with two columns. The first column, say A, has duplicates, the second does not.
I have tried
df["A"].drop_duplicates(inplace=True)
but that returns the same number of rows. How can I drop the rows where the value in column "A" is the same?
Example:
John Miller
John Smith
Mark Robinson
Jeffrey Robinson
should return
John Miller
Mark Robinson
Jeffrey Robinson