xs = np.array([12.6, 11.4, 13.2, 11.2, 9.4, 12.0])
ys = np.array([16.4, 14.1, 13.4, 15.4, 14.0, 11.3])
exact_mc_perm_test(xs, ys, 30000)
Python's implementation of Permutation Test with permutation number as input