User Guide
API reference
Development
Release notes
Learn
1.26
GitHub
Twitter
Array objects
The N-dimensional array (
ndarray
)
Scalars
Data type objects (
dtype
)
numpy.dtype
numpy.dtype.type
numpy.dtype.kind
numpy.dtype.char
numpy.dtype.num
numpy.dtype.str
numpy.dtype.name
numpy.dtype.itemsize
numpy.dtype.byteorder
numpy.dtype.fields
numpy.dtype.names
numpy.dtype.subdtype
numpy.dtype.shape
numpy.dtype.hasobject
numpy.dtype.flags
numpy.dtype.isbuiltin
numpy.dtype.isnative
numpy.dtype.descr
numpy.dtype.alignment
numpy.dtype.base
numpy.dtype.metadata
numpy.dtype.newbyteorder
numpy.dtype.__reduce__
numpy.dtype.__setstate__
numpy.dtype.__class_getitem__
numpy.dtype.__ge__
numpy.dtype.__gt__
numpy.dtype.__le__
numpy.dtype.__lt__
Indexing routines
Iterating over arrays
Standard array subclasses
Masked arrays
The array interface protocol
Datetimes and Timedeltas
Array API Standard Compatibility
Constants
Universal functions (
ufunc
)
Routines
Typing (
numpy.typing
)
Global state
Packaging (
numpy.distutils
)
NumPy distutils - users guide
Status of
numpy.distutils
and migration advice
NumPy C-API
CPU/SIMD Optimizations
NumPy security
NumPy and SWIG
On this page
dtype.__lt__
numpy.dtype.__lt__
#
method
dtype.
__lt__
(
value
,
/
)
#
Return self<value.