def daily_commit_timeline(user, repo):
    r = requests.get('https://api.github.com/repos/%s/%s/stats/punch_card' % (user, repo) )
    data = r.json()
    df = pd.DataFrame(data, columns=['day', 'hour', 'commits'])
    return df


#Get the weekly commit count for the repo owner and everyone else
dataset/ETHPy150Open ContinuumIO/ashiba/examples/github-stats/github.py/daily_commit_timeline/original