code: def deep_copy(self):
          
          return NominalColumn(self.arr, metadata=self.metadata, name=self.name,
                               missing_id=self._missing_id, substitute=False, weights=self.weights)
docs: Returns a deep copy.