We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20a5fd commit 4425ab3Copy full SHA for 4425ab3
scripts/clone-tracking/cumulative.py
@@ -17,6 +17,8 @@ def main(folder):
17
repo_name = repo_name.replace("_", "/", 1)
18
df = pd.read_csv(file_, index_col="date")
19
df = df.rename({"clone_count": repo_name}, axis=1)
20
+ # Drop duplicate index rows, retaining the highest clone count.
21
+ df = df.loc[~df.index.duplicated(keep="first")]
22
dfs.append(df)
23
24
# Concatenate all repo-wise cumulative stats into a single DataFrame
0 commit comments