In [6]:
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
In [3]:
common = pd.read_csv('common.csv')
average = common.mean()
average
Out[3]:
In [4]:
average.to_csv('average.csv')
In [25]:
plt.plot(common)
plt.savefig('toy_hist.pdf')
In [ ]: