How to apply a function to every 2 columns of a pandas data and return a new dataframe

前端 未结 0 995
谎友^
谎友^ 2020-12-15 08:27

For example I have a dataframe as follow:

I want to call stats.ttest_ind on all combination of 2 columns and get new dataframe as follow (don\'t care the dumm

相关标签:
回答
  • 消灭零回复
提交回复
热议问题