parameters: (self)
return_statement: return self._constructor(
              values=self._codes.copy(), dtype=self.dtype, fastpath=True
          )
docstring: Copy constructor.
docstring_summary: Copy constructor.
docstring_tokens: Copy constructor .
function: def copy(self) -> "Categorical":
          """
          Copy constructor.
          """
          return self._constructor(
              values=self._codes.copy(), dtype=self.dtype, fastpath=True
          )
function_tokens: def copy ( self ) -> "Categorical" : return self . _constructor ( values = self . _codes . copy ( ) , dtype = self . dtype , fastpath = True )