This is my first attempt at playing with Pandas library after attending Wesley’s tutorial at pycon.
After poking around a bit with the dataframe I am glad I was able to massage the data in the way I wanted but having trouble in plotting it. I guess it also points to my naiveness with the matplotlib library.
What I have is pandas Series object with the following data. I would like to plot as a barplot with col 1 (‘file’) as the labels oriented vertically.
sample data here:
http://pastebin.com/y2w0uJPQ
I’ve just implemented a stacked bar plot function in the git repository for pandas, will be part of the upcoming 0.7.3 release:
It properly handles positive and negative values (stacking negative values below the origin and positive values above)