# sample each mean and std dev trimmed_mean1 = [np.mean(x) for x in boot_trim1] trimmed_stdev1 = [np.std(x) for x in boot_trim1]