I am trying to do a curve fit for every serial number. I want to get a result for c,a,b for every serial number in a different row. My df has around 250,000 rows with around 100