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