In [1]:
%matplotlib inline
from bigbang.archive import Archive
from bigbang import repo_loader;
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
In [2]:
repo = repo_loader.get_repo("bigbang")
full_info = repo.commit_data;
In [3]:
convolveArray = [1/(n+1) for n in range(9)]
In [4]:
commitsPerWeek = repo.commits_per_week()
commitsPerWeek.plot();
In [5]:
topCommitters = repo.by_committer()[-5:];
topCommitters.plot(kind='bar')
Out[5]:
In [6]:
withoutTopCommitters = repo.commits_per_day_full().drop(topCommitters.index, 0, 1);
withoutTopCommitters = withoutTopCommitters.groupby(level = 0).size().resample("W", how=np.sum)
withoutTopCommitters.plot()
#commitsPerWeek.plot()
Out[6]:
In [7]:
In [ ]:
In [ ]: