Overview:
- The isupper() function of numpy.strings module checks whether all the strings elements of a NumPy array is made of all uppercase letters.
Example:
# Example Python program that finds whether # Create a NumPy array of ASCII strings # Find whether the strings contain all uppercase letters |
Output:
ASCII strings: [[b'abCD' b'xYz'] [b'ALL' b'none']] Are they comprised of all uppercase letters: [[False False] [ True False]] |