chararray.lstrip()

chararray.lstrip(chars=None) [source] For each element in self, return a copy with the leading characters removed. See also char.lstrip

chararray.nbytes

chararray.nbytes Total bytes consumed by the elements of the array. Notes Does not include memory consumed by non-element attributes of the array object. Examples >>> x = np.zeros((3,5,2), dtype=np.complex128) >>> x.nbytes 480 >>> np.prod(x.shape) * x.itemsize 480

chararray.ljust()

chararray.ljust(width, fillchar=' ') [source] Return an array with the elements of self left-justified in a string of length width. See also char.ljust

chararray.join()

chararray.join(seq) [source] Return a string which is the concatenation of the strings in the sequence seq. See also char.join

chararray.item()

chararray.item(*args) Copy an element of an array to a standard Python scalar and return it. Parameters: *args : Arguments (variable number and type) none: in this case, the method only works for arrays with one element (a.size == 1), which element is copied into a standard Python scalar object and returned. int_type: this argument is interpreted as a flat index into the array, specifying which element to copy and return. tuple of int_types: functions as does a single int_type argument, e

chararray.itemsize

chararray.itemsize Length of one array element in bytes. Examples >>> x = np.array([1,2,3], dtype=np.float64) >>> x.itemsize 8 >>> x = np.array([1,2,3], dtype=np.complex128) >>> x.itemsize 16

chararray.isupper()

chararray.isupper() [source] Returns true for each element if all cased characters in the string are uppercase and there is at least one character, false otherwise. See also char.isupper

chararray.isspace()

chararray.isspace() [source] Returns true for each element if there are only whitespace characters in the string and there is at least one character, false otherwise. See also char.isspace

chararray.isnumeric()

chararray.isnumeric() [source] For each element in self, return True if there are only numeric characters in the element. See also char.isnumeric

chararray.istitle()

chararray.istitle() [source] Returns true for each element if the element is a titlecased string and there is at least one character, false otherwise. See also char.istitle