mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
updates for new dfr names (#389)
This commit is contained in:
parent
76bd8b3410
commit
c3462c3a0b
1 changed files with 7 additions and 7 deletions
|
@ -79,14 +79,14 @@ def get_pr_counts [debug_csv: bool, repos_root_folder = '/Users/fdncred/src/fork
|
|||
append (open vscode.csv)
|
||||
)
|
||||
|
||||
let data_dfr = ($data | into df)
|
||||
let data_dfr = ($data | dfr into-df)
|
||||
$data_dfr |
|
||||
group-by name |
|
||||
agg [(col commits | sum | as "all_commits")] |
|
||||
collect |
|
||||
sort-by all_commits |
|
||||
reverse |
|
||||
into nu |
|
||||
dfr group-by name |
|
||||
dfr agg [(dfr col commits | dfr sum | dfr as "all_commits")] |
|
||||
dfr collect |
|
||||
dfr sort-by all_commits |
|
||||
dfr reverse |
|
||||
dfr into-nu |
|
||||
first 50
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue