antitheft159 commited on
Commit
9dff702
·
verified ·
1 Parent(s): 69405e6

Upload analyzing_companies (1).py

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