summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/info.py4
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',