Answer the question
In order to leave comments, you need to log in
How to remove duplicate rows from a dataframe?
how to remove duplicate rows from a pandas dataframe?
let's say I have a csv table, I want to do an action similar to the r code, when I can remove duplicates for a specific column:
newdf <- df[!duplicated(df$mycolumn), ]
how to do this in python?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question