diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-07-31 00:41:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-31 00:41:28 -0700 |
commit | 7f4579279a6a6aa07df664b901afa36ab3fc5ce0 (patch) | |
tree | 3524c05c661f4948eabf066b46b5ad3aaf6ad617 /numpy/core/defchararray.py | |
parent | 24960daf3e326591047eb099af840da6e95d0910 (diff) | |
parent | 9bb569c4e0e1cf08128179d157bdab10c8706a97 (diff) | |
download | numpy-7f4579279a6a6aa07df664b901afa36ab3fc5ce0.tar.gz |
Merge branch 'master' into ix_-preserve-type
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r-- | numpy/core/defchararray.py | 8 |
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 ---------- |