diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-10-07 10:00:52 +0200 |
---|---|---|
committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-10-07 10:21:11 +0200 |
commit | 8551018184e16dc76cadb05cfaf73985105a3293 (patch) | |
tree | bc4b1ff327f4c6b3f835a44a509414a1f9889f81 /numpy/random | |
parent | b347b4d2043ac97af3583b1038f2c02bdadcf3db (diff) | |
download | numpy-8551018184e16dc76cadb05cfaf73985105a3293.tar.gz |
MAINT: Fix typos found by codespell
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/_generator.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index 6af101ed9..aaf51b385 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -3014,7 +3014,7 @@ cdef class Generator: intermediate distribution exceeding the max acceptable value of the ``Generator.poisson`` method. This happens when :math:`p` is too low (a lot of failures happen for every success) and :math:`n` is too big ( - a lot of sucesses are allowed). + a lot of successes are allowed). Therefore, the :math:`n` and :math:`p` values must satisfy the constraint: .. math:: n\\frac{1-p}{p}+10n\\sqrt{n}\\frac{1-p}{p}<2^{63}-1-10\\sqrt{2^{63}-1}, @@ -4433,7 +4433,7 @@ cdef class Generator: is shuffled independently of the others. If `axis` is None, the flattened array is shuffled. out : ndarray, optional - If given, this is the destinaton of the shuffled array. + If given, this is the destination of the shuffled array. If `out` is None, a shuffled copy of the array is returned. Returns |