code: def override_unit(self, unit, parse_strict='raise'):
          
          self._unit = parse_unit(unit, parse_strict=parse_strict)
docs: Forcefully reset the unit of these data
  
          Use of this method is discouraged in favour of `to()`,
          which performs accurate conversions from one unit to another.
          The method should really only be used when the original unit of the
          array is plain wrong.
  
          Parameters
          ----------
          unit : `~astropy.units.Unit`, `str`
              the unit to force onto this array
          parse_strict : `str`, optional
              how to handle errors in the unit parsing, default is to
              raise the underlying exception from `astropy.units`
  
          Raises
          ------
          ValueError
              if a `str` cannot be parsed as a valid unit