No, these are two different things. You might have a high debt to income ratio but a good credit score, a low credit score, and a low debt to income ratio.
Credit referencing bureaus don't know how much you earn and therefore look at your credit performance and payments history, recording any issues.
Debt to income ratios don't look at whether you have kept all of your repayments up within the due dates, but rather consider how financially sound you are.