I have a dataframe like this,
df,
Name City
0 sri chennai
1 pedhci pune
2 bahra pune
there is a duplicate in City column.
I tried:
df["City"].drop_duplicates()
but it gives only the particular column.
my desired output should be
output_df
Name City
0 sri chennai
1 pedhci pune