Compute current and debt-to-equity ratios
You just learned about liquidity ratios. In this exercise, you'll compute the current ratio, a liquidity ratio, to assess the company's assets to meet its short-term commitments. You'll also compute the debt-to-equity ratio, a commonly used leverage ratio, to see whether a company runs its operations using more debt or its "own" funds.
A pandas
DataFrame balance_sheet
has been loaded for you. pandas
with alias pd
has been loaded for you.
This exercise is part of the course
Analyzing Financial Statements in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Print the columns in df_bal_sheet
print(balance_sheet____)