In [63]:
import pandas as pd
from pandas import *
import matplotlib.pyplot as plt
%matplotlib inline
from ggplot import *
from numpy import random
plt.style.use('ggplot')
In [44]:
data = pd.read_csv("./annotated/fig4_table.csv", header=None)
data.columns = ['A','B','C','D','E']
In [59]:
data=data.drop('B',axis=1)
table = pivot_table(data, index=['A'], columns=['E'])
table
Out[59]:
In [62]:
pd.options.display.mpl_style = 'default'
table.plot(kind='bar', colors=['r', 'g', 'b'])
Out[62]:
In [ ]: