diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-11-02 12:38:54 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-11-02 12:38:54 -0700 |
commit | 2bc5cb9a19027704d13f06b02c0bbd07e6aebd29 (patch) | |
tree | ea3bce5c9fa3eb66553a28ee2be5a91fff01f8f0 /numpy | |
parent | f2f61b84b78909aa8c8aa6574b643de937d3348b (diff) | |
parent | 6a09c85cae64417dec7d2e757bfe034673acd23d (diff) | |
download | numpy-2bc5cb9a19027704d13f06b02c0bbd07e6aebd29.tar.gz |
Merge pull request #6614 from charris/update-random-all
BUG: Add choice and dirichlet to numpy.random.__all__.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/random/info.py | 4 |
1 files changed, 4 insertions, 0 deletions
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', |