

@deprecate_kwarg('take_last', 'keep', mapping={
    True: 'last',
    False: 'first',
})
@Appender((base._shared_docs['drop_duplicates'] % _index_doc_kwargs))
def drop_duplicates(self, keep='first'):
    return super(Index, keep).drop_duplicates(keep=keep)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.drop_duplicates/VarMisuse@58/84 `self`->`keep`