I have a data frame with data that I need to compare data on two columns see picture below (I would do things like get slope, intercept, p-test, etc from two columns being compared (Log GC/L vs Active Weekly Cases). Then I need to extract the results and put the data into a new data frame. I have included pictures of the original data frame and the new data frame. Is there a way to do this and have it automatically populate the new data frame? The new data would just be populated the length of the column.
Asked
Active
Viewed 26 times
0
-
1[Please do not upload images of data when asking a question.](//meta.stackoverflow.com/q/285551) – ljmc Aug 15 '22 at 16:03
-
https://stackoverflow.com/questions/17091769/python-pandas-fill-a-dataframe-row-by-row – Ignatius Reilly Aug 15 '22 at 16:24