BaşlayınÜcretsiz Başlayın

Practice making heat maps

Heat maps are a great way to visualize correlations between various financial ratios. They can be used to see which ratios correlate strongly with profitability ratios and thus aid us in deciding which companies to invest in.

In this exercise, you'll practice making heat maps. A pandas DataFrame merged_dat has been loaded for you with some ratios already computed. pandas and Seaborn have been loaded with the aliases pd and sns.

Bu egzersiz

Analyzing Financial Statements in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Make the correlation matrix
corr_mat = merged_dat[["Gross Margin", "Operating Margin", "Debt-to-equity",
                             "Equity Multiplier", "Current Ratio"]]____
Kodu Düzenle ve Çalıştır