import numpy as np
from scipy.stats import mannwhitneyu, ttest_ind, wilcoxon


#group1 = [1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6]
#roup2 = [1,2,4,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6]
group2 = [7,4,6,4,5,12]
group1 = [1,2,16,14,15,112]
u, p_value = wilcoxon(group1, group2, zero_method='pratt')
print("two-sample text",p_value)