diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-01-13 10:56:00 +0100 |
---|---|---|
committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-01-13 11:29:51 +0100 |
commit | 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (patch) | |
tree | 8aada9a88cb8718941d16faafb2749462f8325e5 /numpy/lib | |
parent | 813a0c11186ded0b5caeb853fd2b22fb9addd511 (diff) | |
download | numpy-58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc.tar.gz |
MAINT, DOC: discard repeated words
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/function_base.py | 4 | ||||
-rw-r--r-- | numpy/lib/histograms.py | 4 | ||||
-rw-r--r-- | numpy/lib/nanfunctions.py | 5 |
3 files changed, 6 insertions, 7 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index a215f63d3..d4abde425 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -3551,8 +3551,8 @@ def sinc(x): Parameters ---------- x : ndarray - Array (possibly multi-dimensional) of values for which to to - calculate ``sinc(x)``. + Array (possibly multi-dimensional) of values for which to calculate + ``sinc(x)``. Returns ------- diff --git a/numpy/lib/histograms.py b/numpy/lib/histograms.py index b6909bc1d..44e4b51c4 100644 --- a/numpy/lib/histograms.py +++ b/numpy/lib/histograms.py @@ -506,8 +506,8 @@ def histogram_bin_edges(a, bins=10, range=None, weights=None): with non-normal datasets. 'scott' - Less robust estimator that that takes into account data - variability and data size. + Less robust estimator that takes into account data variability + and data size. 'stone' Estimator based on leave-one-out cross-validation estimate of diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py index d7ea1ca65..cf76e7909 100644 --- a/numpy/lib/nanfunctions.py +++ b/numpy/lib/nanfunctions.py @@ -188,9 +188,8 @@ def _divide_by_count(a, b, out=None): """ Compute a/b ignoring invalid results. If `a` is an array the division is done in place. If `a` is a scalar, then its type is preserved in the - output. If out is None, then then a is used instead so that the - division is in place. Note that this is only called with `a` an inexact - type. + output. If out is None, then a is used instead so that the division + is in place. Note that this is only called with `a` an inexact type. Parameters ---------- |