Permutation summation in Pandas dataframe growing super exponentially
The bounty expires in 7 days. Answers to this question are eligible for a +50 reputation bounty. Ishigami is looking for a canonical answer. I have a pandas dataframe that looks like import pandas as pd data = { “Race_ID”: [2,2,2,2,2,5,5,5,5,5,5], “Student_ID”: [1,2,3,4,5,9,10,2,3,6,5], “theta”: [8,9,2,12,4,5,30,3,2,1,50] } df = pd.DataFrame(data) And I would like to create […]