From f6f98a3b0fb0db243449462e76355b523a443088 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 18 Sep 2022 19:21:54 -0600 Subject: MAIN: `import numpy as np` is not needed --- numpy/core/defchararray.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'numpy/core/defchararray.py') diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py index 0df7a6f0f..b7298d2cd 100644 --- a/numpy/core/defchararray.py +++ b/numpy/core/defchararray.py @@ -943,9 +943,8 @@ def isupper(a): -------- str.isupper - Examples + Examples -------- - >>> import numpy as np >>> str = "GHC" >>> np.char.isupper(str) array(True) -- cgit v1.2.1