def copy(self):
    ' Copy constructor. '
    return self._constructor(values=self._codes.copy(), dtype=self.dtype, fastpath=True)
Copy constructor.
def copy(self):
    '  '
    return self._constructor(values=self._codes.copy(), dtype=self.dtype, fastpath=True)