@sid100158 wrote:
I am currently learning about plotting of bar plots in python . I have created a Data frame and plot it to get a bar plot. But I want to know how to create the stack of bar plot .
df = DataFrame(np.random.rand(6, 4),
....: index=['one', 'two', 'three', 'four', 'five', 'six'],
....: columns=pd.Index(['A', 'B', 'C', 'D'], name='Genus'))
df.plot(kind='bar')
Posts: 2
Participants: 2