Search
Search Results
Search finished, found 25 page(s) matching the search query.
- numpy.char.chararray.all (Python method, in numpy.char.chararray.all)
- NumPy 1.10.0 Release Notes
...1.10.0 Release Notes This release supports Python 2.6 - 2.7 and 3.2 - 3.5. Highlights numpy.distutils now supports parallel compilation via the –parallel/-j argument passed to setup.py build numpy.distutils now supports additional customi...
- NumPy 2.0 migration guide
...advice. Ruff plugin Many of the changes covered in the 2.0 release notes and in this migration guide can be automatically adapted in downstream code with a dedicated Ruff rule, namely rule NPY201. You should install ruff>=0.4.8 and add t...
- NumPy 2.0.0 Release Notes
...e and a new numpy.strings namespace with performant ufuncs for string operations, Support for float32 and longdouble in all numpy.fft functions, Support for the array API standard in the main numpy namespace. Performance improvements: So...
- numpy.char.chararray.all
...numpy.char.chararray.all...
- numpy.char.chararray.astype
...ionalControls the memory layout order of the result. ‘C’ means C order, ‘F’ means Fortran order, ‘A’ means ‘F’ order if all the arrays are Fortran contiguous, ‘C’ order otherwise, and ‘K’ means as close to the order the array elements appea...
- numpy.char.chararray.conj
...numpy.char.chararray.conj method char.chararray.conj() Complex-conjugate all elements. Refer to numpy.conjugate for full documentation. See also numpy.conjugateequivalent function...
- numpy.char.chararray.copy
...5, 6]]) >>> y.flags['C_CONTIGUOUS'] True For arrays containing Python objects (e.g. dtype=object), the copy is a shallow one. The new array will contain the same object which may lead to surprises if that object can be modified (is mut...
- numpy.char.chararray.expandtabs
...r.chararray.expandtabs method char.chararray.expandtabs(tabsize=8)[source] Return a copy of each string element where all tab characters are replaced by one or more spaces. See also char.expandtabs...
- numpy.char.chararray.fill
...py.char.chararray.fill method char.chararray.fill(value) Fill the array with a scalar value. Parameters: valuescalarAll elements of a will be assigned this value. Examples >>> import numpy as np >>> a = np.array([1, 2]) >>> a.fill(0...
- numpy.char.chararray.flags
...EABLE, 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: WRITEBACKIFCOPY can only be set False. ALIGNED can...
- numpy.char.chararray.isalnum
...numpy.char.chararray.isalnum method char.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.isal...
- numpy.char.chararray.isalpha
...numpy.char.chararray.isalpha method char.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.isalph...
- numpy.char.chararray.isdigit
...numpy.char.chararray.isdigit method char.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...
- numpy.char.chararray.islower
...numpy.char.chararray.islower method char.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...
- numpy.char.chararray.isupper
...numpy.char.chararray.isupper method char.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.i...
- numpy.char.chararray.put
...numpy.char.chararray.put method char.chararray.put(indices, values, mode='raise') Set a.flat[n] = values[n] for all n in indices. Refer to numpy.put for full documentation. See also numpy.putequivalent function...
- numpy.char.chararray.replace
...ethod char.chararray.replace(old, new, count=None)[source] For each element in self, return a copy of the string with all occurrences of substring old replaced by new. See also char.replace...
- numpy.char.chararray.setflags
...mpy interprets the memory area used by a (see Notes below). The ALIGNED flag can only be set to True if the data is actually aligned according to the type. The WRITEBACKIFCOPY flag can never be set to True. The flag WRITEABLE can only be se...
- numpy.char.chararray.sort
...is argument specifies which fields to compare first, second, etc. A single field can be specified as a string, and not all fields need be specified, but unspecified fields will still be used, in the order in which they come up in the dtype...
- numpy.char.chararray.title
...e()[source] For each element in self, return a titlecased version of the string: words start with uppercase characters, all remaining cased characters are lowercase. See also char.title...
- numpy.char.chararray.tolist
...hon type, via the item function. If a.ndim is 0, then since the depth of the nested list is 0, it will not be a list at all, but a simple Python scalar. Parameters: none Returns: yobject, or list of object, or list of list of object, o...
- numpy.char.chararray.translate
...char.chararray.translate(table, deletechars=None)[source] For each element in self, return a copy of the string where all characters occurring in the optional argument deletechars are removed, and the remaining characters have been mapped...
- Standard array subclasses
...y the question is by asking yourself if the object you are interested in can be replaced as a single array or does it really require two or more arrays at its core. Note that asarray always returns the base-class ndarray. If you are confide...
- String functionality
...hararray array subclass, in order for those routines to get the performance benefits as well. Note Prior to NumPy 2.0, all string functionality was in numpy.char, which only operated on fixed-width strings. That module will not be getting...