MCPcopy Create free account
hub / github.com/numpy/numpy / islower

Function islower

numpy/core/defchararray.py:907–930  ·  view source on GitHub ↗

Returns true for each element if all cased characters in the string are lowercase and there is at least one cased character, false otherwise. Calls `str.islower` element-wise. For 8-bit strings, this method is locale-dependent. Parameters ---------- a : array_like

(a)

Source from the content-addressed store, hash-verified

905
906@array_function_dispatch(_unary_op_dispatcher)
907def islower(a):
908 """
909 Returns true for each element if all cased characters in the
910 string are lowercase and there is at least one cased character,
911 false otherwise.
912
913 Calls `str.islower` element-wise.
914
915 For 8-bit strings, this method is locale-dependent.
916
917 Parameters
918 ----------
919 a : array_like of str or unicode
920
921 Returns
922 -------
923 out : ndarray
924 Output array of bools
925
926 See Also
927 --------
928 str.islower
929 """
930 return _vec_string(a, bool_, 'islower')
931
932
933@array_function_dispatch(_unary_op_dispatcher)

Callers 1

islowerMethod · 0.85

Calls 1

_vec_stringFunction · 0.90

Tested by

no test coverage detected