Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sample_mean = []
# Bootstrap Sampling
for i in range(40):
y = random.sample(x.tolist(), 5)
avg = np.mean(y)
sample_mean.append(avg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment