Closed SamBryce-Smith closed 3 years ago
https://stackoverflow.com/questions/37997668/pandas-number-rows-within-group-in-increasing-order
https://stackoverflow.com/questions/33899369/ranking-order-per-group-in-pandas
May be quicker than my custom apply approach - currently adding intron numbers takes ~ 4 mins for reference_introns, ~ 2 mins for novel introns
Now adds intron numbers to ref & novel in about 10 s - massive speed improvement!
Closed with e740b19c0160454abe01554b3ccd6d2d4225b4f9
https://stackoverflow.com/questions/37997668/pandas-number-rows-within-group-in-increasing-order
https://stackoverflow.com/questions/33899369/ranking-order-per-group-in-pandas
May be quicker than my custom apply approach - currently adding intron numbers takes ~ 4 mins for reference_introns, ~ 2 mins for novel introns