summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-07-31 00:41:28 -0700
committerGitHub <noreply@github.com>2018-07-31 00:41:28 -0700
commit7f4579279a6a6aa07df664b901afa36ab3fc5ce0 (patch)
tree3524c05c661f4948eabf066b46b5ad3aaf6ad617 /numpy/core/defchararray.py
parent24960daf3e326591047eb099af840da6e95d0910 (diff)
parent9bb569c4e0e1cf08128179d157bdab10c8706a97 (diff)
downloadnumpy-7f4579279a6a6aa07df664b901afa36ab3fc5ce0.tar.gz
Merge branch 'master' into ix_-preserve-type
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r--numpy/core/defchararray.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py
index a11b343cb..6d0a0add5 100644
--- a/numpy/core/defchararray.py
+++ b/numpy/core/defchararray.py
@@ -575,9 +575,9 @@ def endswith(a, suffix, start=0, end=None):
array(['foo', 'bar'],
dtype='|S3')
>>> np.char.endswith(s, 'ar')
- array([False, True], dtype=bool)
+ array([False, True])
>>> np.char.endswith(s, 'a', start=1, end=2)
- array([False, True], dtype=bool)
+ array([False, True])
"""
return _vec_string(
@@ -1289,7 +1289,7 @@ def split(a, sep=None, maxsplit=None):
For each element in `a`, return a list of the words in the
string, using `sep` as the delimiter string.
- Calls `str.rsplit` element-wise.
+ Calls `str.split` element-wise.
Parameters
----------
@@ -1383,7 +1383,7 @@ def strip(a, chars=None):
For each element in `a`, return a copy with the leading and
trailing characters removed.
- Calls `str.rstrip` element-wise.
+ Calls `str.strip` element-wise.
Parameters
----------