scipy.stats.PermutationMethod. scipy.stats.PermutationMethod.n_resamples# PermutationMethod.n_resamples = 9999#