diff --git a/stats_pull_requests.py b/stats_pull_requests.py index 5385bc8..ddc5598 100644 --- a/stats_pull_requests.py +++ b/stats_pull_requests.py @@ -104,6 +104,7 @@ def main(): for _, row in tqdm.tqdm(repos.iterrows(), total=len(repos)): if "name" not in row or not isinstance(row["name"], str): continue + pd.DataFrame(stats).to_csv("pr_stats.csv", index=False) stats.extend(process_repo(row["name"])) finally: pd.DataFrame(stats).to_csv("pr_stats.csv", index=False)