From e6c5c8df823bb0031d24df3cb990c39082d74c67 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Tue, 20 May 2025 09:59:09 +0200 Subject: [PATCH] sorting the values descending, to have the top most of the given column first --- pull_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pull_requests.py b/pull_requests.py index 1cec0c7..666b66a 100644 --- a/pull_requests.py +++ b/pull_requests.py @@ -655,7 +655,7 @@ if __name__ == "__main__": if sort_column is not None: if sort_column not in df.columns: raise ValueError(f"Column '{sort_column}' not present in given csv file") - df.sort_values(sort_column, inplace=True) + df.sort_values(sort_column, inplace=True, ascending=False) if args.only_repo is not None: df = df.loc[df["name"] == args.only_repo]