We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
there’s no way to drop rows with duplicated index using drop_duplicates.
drop_duplicates
we’d have to add a copy of the index as column, or do this:
df[np.logical_not(df.index.duplicated(take_last=True).values)]