I can make a bar chart from a pandas groupby object using the pandas .plot() method, which calls matplotlib.
The Bokeh docs say that the bar chart function will take a pandas dataframe, but when i turn that same groupby object into a dataframe, using pandas DataFrame() to give me a dataframe with one index and one data columns,
I get an error. TypeError: cannot concatenate ‘str’ and ‘numpy.int64’ objects
I have included the Ipython Notebook I am working on. I can’t upload the data file it gets data from, but just looking at it without running it should be enough to see the problem. I first do a matplotlib bar chart and then try to do one with Bokeh. Any thoughts on what I am doing wrong would be appreciated.
Pledges charts bokeh.ipynb (1.46 MB)