code: def complex_space(self):
          
          if not is_numeric_dtype(self.dtype):
              raise ValueError(
                  '`complex_space` not defined for non-numeric `dtype`')
          return self.astype(self.complex_dtype)
docs: The space corresponding to this space's `complex_dtype`.
  
          Raises
          ------
          ValueError
              If `dtype` is not a numeric data type.