CompanyDataIndex / analyzing_companies (1).py
antitheft159's picture
Update analyzing_companies (1).py
e7eb434 verified
raw
history blame contribute delete
489 Bytes
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()