trimmed_mean2 = [np.mean(x) for x in boot_trim2] trimmed_stdev2 = [np.std(x) for x in boot_trim2]