yt.units.unit_object.Unit.as_numer_denom

Unit.as_numer_denom()

expression -> a/b -> a, b

This is just a stub that should be defined by an object’s class methods to get anything else.

See also

normal
return a/b instead of a, b