Computing ratios from the income statement
The gross and operating margins are commonly used to see how efficiently a company uses its assets to earn money. In this exercise, you will compute the average gross margin and operating margin by industry.
The DataFrame income_statement
has already been loaded for you, and pandas have also been loaded with the alias pd
.
Cet exercice fait partie du cours
Analyzing Financial Statements in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Check the columns of the income statement
print(income_statement.____)