From edab247184252508b51f6012bcf86c438d1f596e Mon Sep 17 00:00:00 2001 From: James Gerity Date: Tue, 26 Jan 2021 17:06:23 -0500 Subject: Mark example as random --- numpy/random/_generator.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index cba13ed59..93b1d6160 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -669,7 +669,7 @@ cdef class Generator: replacement: >>> rng.choice([[0, 1, 2], [3, 4, 5], [6, 7, 8]], 2, replace=False) - array([[3, 4, 5], + array([[3, 4, 5], # random [0, 1, 2]]) Generate a non-uniform random sample from np.arange(5) of size -- cgit v1.2.1