कुछ उद्योगों के वित्तीय अनुपात की एक झलक

Python में Financial Statements का विश्लेषण

Rohan Chatterjee

Risk Modeler

Average current ratio

  • Current ratio = $\dfrac{\text{Current Assets}}{\text{Current Liabilities}}$
  • उद्योगों का औसत Current Ratio:
    balance_sheet["current_ratio"] =
                          balance_sheet["Total Current Assets"]/
                          balance_sheet["Total Current Liabilities"]
    balance_sheet.pivot_table(index="comp_type", values="current_ratio")
    

यह इमेज हमारे डेटासेट में fmcg, tech और real estate कंपनियों का औसत current ratio दिखाती है

Python में Financial Statements का विश्लेषण

Average debt-to-equity ratio

  • Debt-to-equity ratio = $\dfrac{\text{Total liabilities}}{\text{Total shareholders equity}}$
  • उद्योगों का औसत Debt-to-equity:
    balance_sheet["debt_to_equity"] =
                          balance_sheet["Total Liabilities"]/
                          balance_sheet["Total Shareholders Equity"]
    balance_sheet.pivot_table(index="comp_type", values="debt_to_equity")
    

यह इमेज हमारे डेटासेट में fmcg, tech और real estate कंपनियों का औसत debt-to-equity दिखाती है

Python में Financial Statements का विश्लेषण

उद्योग औसत से अनुपातों की दृश्य तुलना

यह प्लॉट tech कंपनियों का औसत current ratio और tech उद्योग का कुल औसत current ratio दिखाता है.

Python में Financial Statements का विश्लेषण

बार प्लॉट बनाना

plot = balance_sheet_tech.pivot_table(index="company", values = "current_ratio",
                                      margins = True).reset_index()
plot

यह इमेज अलग-अलग कंपनियों का औसत current ratio दिखाती है, जिसका उपयोग बार प्लॉट बनाने में होगा.

Python में Financial Statements का विश्लेषण

बार प्लॉट बनाना

sns.barplot(data=plot, x = "company", y = "current_ratio")
plt.ylabel("Current Ratio"), plt.xlabel("Company")
plt.show()

यह प्लॉट tech कंपनियों का औसत current ratio और tech उद्योग का कुल औसत current ratio दिखाता है.

Python में Financial Statements का विश्लेषण

अभ्यास करते हैं!

Python में Financial Statements का विश्लेषण

Preparing Video For Download...