def repeat(self, repeats, axis=None): assert axis in (None, 0) return MultiIndex.from_frame(self._source_data.repeat(repeats), names=self.names)
def unique(self): return MultiIndex.from_frame(self._source_data.drop_duplicates())
def repeat(self, repeats, axis=None): assert axis in (None, 0) return MultiIndex.from_frame(self._source_data.repeat(repeats), names=self.names)
def unique(self): return MultiIndex.from_frame(self._source_data.drop_duplicates())