CompanyDataIndex / analyzing_companies (1).py
antitheft159's picture
Upload analyzing_companies (1).py
9dff702 verified
raw
history blame
683 Bytes
# -*- 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()