wking wking - 7 months ago 79
Python Question

What does replacement mean in numpy.random.choice?

Here explains the function

. However, I am confused about the third parameter
. What is it? And in which case will it be useful? Thanks!


It controls whether the sample is returned to the sample pool. If you want only unique samples then this should be false.