28 lines
386 B
Python
28 lines
386 B
Python
|
#!/usr/bin/env python
|
||
|
# coding: utf-8
|
||
|
|
||
|
# In[1]:
|
||
|
|
||
|
|
||
|
import pandas as pd
|
||
|
import os
|
||
|
|
||
|
df = pd.read_csv(os.path.join('.', 'body_performance_processed.csv'))
|
||
|
|
||
|
print(df.head())
|
||
|
|
||
|
print("number of elements in data frame: {}".format(df['age'].count()))
|
||
|
|
||
|
print(df.describe(include='all'))
|
||
|
|
||
|
print(df.info())
|
||
|
|
||
|
print('Each class in data frame: \n{}'.format(df['class'].value_counts()))
|
||
|
|
||
|
|
||
|
# In[ ]:
|
||
|
|
||
|
|
||
|
|
||
|
|