dates = [nextdate(i) for i in range(value)]
downloads = np.random.randint(0, 1000, value)
data = np.array([dates, downloads]).T
data = pd.DataFrame(data, columns=['Date', 'Downloads'])
data['Date'] = data.Date.apply(lambda x: '{:%Y %b %d}'.format(x))
data_html = data.to_html(index=False)
output_notebook()
fig = figure(x_range=(0, 5), y_range=(0, 5), tools=[HoverTool(tooltips=
    '@html{safe}')])
source = ColumnDataSource(data=dict(x=[1, 3], y=[2, 4], html=[
    '<b>Some other html.</b>', data_html]))
fig.circle('x', 'y', size=20, source=source)
show(fig)
How to add HoverTool to a Data Table (Bokeh, Python)