numpy.random.sample

random.sample(*args, **kwargs)

This is an alias of random_sample. See random_sample for the complete documentation.