Toy process C

Compute the mean of each column, and plot a histogram.


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]:
A    8.540177e-18
B   -2.348549e-17
C   -3.843080e-17
D    6.966103e-01
E    6.123337e-01
F    4.405637e-01
G    4.089758e-01
H    5.457184e-01
dtype: float64

In [4]:
average.to_csv('average.csv')

In [25]:
plt.plot(common)
plt.savefig('toy_hist.pdf')



In [ ]: