%matplotlib inline
from quickviz import visualize as v
from vega_datasets import data
github = data.github()
github["month"] = github["time"].map(lambda t: t.month)
github["day"] = github["time"].map(lambda t: t.day)
per_day = github.groupby(["month", "day"]).sum()
heatmap = per_day.reset_index().pivot("month", "day", "count")
v(heatmap)
VBox()
Output()
<quickviz.quickviz.UI at 0x7f6063860b00>