Run »
import numpy as np from scipy.stats import ttest_ind v1 = np.random.normal(size=100) v2 = np.random.normal(size=100) res = ttest_ind(v1, v2) print(res)
Ttest_indResult(statistic=0.88243958372222664, pvalue=0.37860920117232288)