從損益表計算比率
毛利率與營業利益率常用來評估公司運用資產賺錢的效率。在這個練習中,你將按產業計算平均毛利率與平均營業利益率。
income_statement 這個 DataFrame 已經為你載入,且 pandas 也已以別名 pd 載入。
本練習屬於課程
使用 Python 分析財務報表
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Check the columns of the income statement
print(income_statement.____)