From 6a09c85cae64417dec7d2e757bfe034673acd23d Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Mon, 2 Nov 2015 09:44:55 -0700 Subject: BUG: Add choice and dirichlet to numpy.random.__all__. Closes #6602. --- numpy/random/info.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'numpy/random') diff --git a/numpy/random/info.py b/numpy/random/info.py index 396e62381..be9c8d9bd 100644 --- a/numpy/random/info.py +++ b/numpy/random/info.py @@ -13,6 +13,8 @@ random_integers Uniformly distributed integers in a given range. permutation Randomly permute a sequence / generate a random sequence. shuffle Randomly permute a sequence in place. seed Seed the random number generator. +choice Random sample from 1-D array. + ==================== ========================================================= ==================== ========================================================= @@ -91,6 +93,8 @@ __all__ = [ 'binomial', 'bytes', 'chisquare', + 'choice', + 'dirichlet', 'exponential', 'f', 'gamma', -- cgit v1.2.1