mirkobunse / critdd

Critical difference diagrams with Python and Tikz
https://mirkobunse.github.io/critdd
Other
21 stars 3 forks source link

TypeError: wilcoxon() got an unexpected keyword argument 'method' #8

Open HappyDay1998 opened 3 months ago

HappyDay1998 commented 3 months ago

When I tried to run the code, it shows me this error: self.P = stats.pairwise_tests(X) File "/home/qir21001/anaconda/envs/simclr_2/lib/python3.7/site-packages/critdd/stats.py", line 88, in pairwise_tests zero_method = 'pratt' TypeError: wilcoxon() got an unexpected keyword argument 'method'

I have tried to update the version of scipy package and change another new virtual environment but it failed. Does anyone meet this problem too?

mirkobunse commented 3 months ago

Hi, I cannot replicate your issue with the information you have provided. Which version of SciPy do you use?

The SciPy documentation lists method as a valid keyword argument.