Bokeh Demo

Portland Data Science Meetup, November 2014

In [9]:
import bokeh.charts as bc
import bokeh
import pandas as pd
import qgrid

bokeh.load_notebook()
qgrid.nbinstall()

# Going to look at the same Snowtel data, using Bokeh renderer
df = pd.read_csv('mthood_snotel.csv', header=7, parse_dates=['Date']).dropna()
indexed = df.set_index('Date')
resampled = indexed.resample('MS')
resampled['Month'] = resampled.index.month
monthly_grouped = resampled.groupby('Month').mean()
qgrid.show_grid(monthly_grouped, remote_js=True)