File size: 683 Bytes
9dff702 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# -*- coding: utf-8 -*-
"""Analyzing Companies
Automatically generated by Colab.
Original file is located at
https://colab.research.google.com/drive/1_atIyBT8S9J_6LF76eurMNtiiCLLbQMg
"""
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import warnings
warnings.filterwarnings('ignore')
companies_df = pd.read_csv('/content/companies.csv')
companies_df.head()
companies_df.head()
numeric_df = companies_df.select_dtypes(include=[np.number])
plt.figure(figsize=(10, 8))
sns.heatmap(numeric_df.corr(), annot=True, cmap='coolwarm', linewidths=0.5)
plt.title('Correlation Heatmap of Numeric Features in Companies Dataset')
plt.show() |