diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-09-18 21:26:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 21:26:49 -0500 |
commit | bcb7962166ac8383ed844abc07cb8035feae0fed (patch) | |
tree | 6b9abdf418d36410906387f765aad0e434f9d12c | |
parent | d6586b97a3b5d23832e729b098de0fa023246e9c (diff) | |
parent | f6f98a3b0fb0db243449462e76355b523a443088 (diff) | |
download | numpy-bcb7962166ac8383ed844abc07cb8035feae0fed.tar.gz |
Merge pull request #22295 from tahsinsoha/isupper
DOC: Added an example for isupper() function
-rw-r--r-- | numpy/core/defchararray.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py index 620cc0a92..005d35640 100644 --- a/numpy/core/defchararray.py +++ b/numpy/core/defchararray.py @@ -948,6 +948,13 @@ def isupper(a): See Also -------- str.isupper + + Examples + -------- + >>> str = "GHC" + >>> np.char.isupper(str) + array(True) + """ return _vec_string(a, bool_, 'isupper') |