Search
Search Results
Search finished, found 9 page(s) matching the search query.
- numpy.dtype.subdtype
...NumPy reference Array objects Data type objects (dtype) numpy.dtype.subdtype...
- numpy.dtype.subdtype (Python attribute, in numpy.dtype.subdtype)
- Data type objects (
dtype
)...such as arr.astype(dtype=np.floating), which casts an array of float32 to an array of float64, even though float32 is a subdtype of np.floating. Built-in Python typesSeveral python types are equivalent to a corresponding array scalar when...
- numpy.dtype
...if this data type describes a sub-array, and () otherwise. strThe array-protocol typestring of this data-type object. subdtypeTuple (item_dtype, shape) if this dtype describes a sub-array, and None otherwise. type Methods newbyteord...
- numpy.dtype.base
...type.base Returns dtype for the base element of the subarrays, regardless of their dimension or shape. See also dtype.subdtype Examples >>> import numpy as np >>> x = numpy.dtype('8f') >>> x.base dtype('float32') >>> x = numpy.dtype(...
- numpy.dtype.subdtype
...NumPy reference Array objects Data type objects (dtype) numpy.dtype.subdtype...
- numpy.issubdtype
...NumPy reference Routines and objects by topic Data type routines numpy.issubdtype...
- numpy.issubdtype (Python function, in numpy.issubdtype)
- Subclassing ndarray
...hing of what we have done in our own __new__ method in order to set attributes, and so on. (Aside - why not call obj = subdtype.__new__(... then? Because we may not have a __new__ method with the same call signature). The role of __arra...