IIabm/size_stats.py

8 lines
210 B
Python
Raw Normal View History

2023-05-15 10:42:16 +08:00
import pandas as pd
Firm = pd.read_csv("Firm.csv")
data = Firm[['Revenue', 'Num_Employ','Size']]
print(data.describe(include='all'))
print(Firm[['Size']].value_counts())
print(Firm[['Source']].value_counts())