I am very new on Python. I have a panda dataframe here. It looks like a 2D matrix with 26 columns and 9047943 rows. Let say:
array([[123,234,345],
[567,543,342],
[735,276,697]])
This time I want to calculate the correlation coefficient and the p-value for each row. i.e. The correlation coefficient and the p-value for [123,234,345]. Then go to the next row [567,543,342]. I think the answer should look like this T-test in Pandas
I have done lot of research but I cannot find the answer. Any suggestion? Thanks a lot for your help!