

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

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.duplicated/original