chararray.isdecimal()

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

chararray.isdigit()

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

chararray.isalpha()

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

chararray.islower()

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

chararray.isalnum()

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

chararray.index()

chararray.index(sub, start=0, end=None) [source] Like find, but raises ValueError when the substring is not found. See also char.index

chararray.getfield()

chararray.getfield(dtype, offset=0) Returns a field of the given array as a certain type. A field is a view of the array data with a given data-type. The values in the view are determined by the given type and the offset into the current array in bytes. The offset needs to be such that the view dtype fits in the array dtype; for example an array of dtype complex128 has 16-byte elements. If taking a view with a 32-bit integer (4 bytes), the offset needs to be between 0 and 12 bytes. Paramete

chararray.imag

chararray.imag The imaginary part of the array. Examples >>> x = np.sqrt([1+0j, 0+1j]) >>> x.imag array([ 0. , 0.70710678]) >>> x.imag.dtype dtype('float64')

chararray.flatten()

chararray.flatten(order='C') Return a copy of the array collapsed into one dimension. Parameters: order : {?C?, ?F?, ?A?, ?K?}, optional ?C? means to flatten in row-major (C-style) order. ?F? means to flatten in column-major (Fortran- style) order. ?A? means to flatten in column-major order if a is Fortran contiguous in memory, row-major order otherwise. ?K? means to flatten a in the order the elements occur in memory. The default is ?C?. Returns: y : ndarray A copy of the input array

chararray.flags

chararray.flags Information about the memory layout of the array. Notes The flags object can be accessed dictionary-like (as in a.flags['WRITEABLE']), or by using lowercased attribute names (as in a.flags.writeable). Short flag names are only supported in dictionary access. Only the UPDATEIFCOPY, WRITEABLE, and ALIGNED flags can be changed by the user, via direct assignment to the attribute or dictionary entry, or by calling ndarray.setflags. The array flags cannot be set arbitrarily: UPDAT