python: remove duplicate in a specific column

53

python: remove duplicate in a specific column -

df = df.drop_duplicates(subset=['Column1', 'Column2'], keep='first')

Comments

Submit
0 Comments