yt.units.unit_object.Unit.as_coeff_exponent

Unit.as_coeff_exponent(x)

c*x**e -> c,e where x can be any symbolic expression.