def _can_reindex(self, indexer):
<EOL>if not self.is_unique and len(indexer):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>
Check if we are allowing reindexing with this particular indexer.

Parameters
----------
indexer : an integer indexer

Raises
------
ValueError if its a duplicate axis