diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-01-13 09:03:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 09:03:17 -0700 |
commit | c6d95f57bff1ae390b3539bd46f1c74695b861eb (patch) | |
tree | 97539532377c89f6dd8468c82b7501f0bc8cde54 /numpy/lib | |
parent | 5fee4748117e752c42ee489810f272b3e65dffd3 (diff) | |
parent | 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (diff) | |
download | numpy-c6d95f57bff1ae390b3539bd46f1c74695b861eb.tar.gz |
Merge pull request #20811 from DimitriPapadopoulos/repeated
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 ---------- |