to

UnitsAwareDataArray.to(new_unit, *contexts, **kwargs)[source]

Convert to other unit.

See corresponding method in pint.