SciPy

This is documentation for an old release of NumPy (version 1.8.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.dtype.isalignedstruct

dtype.isalignedstruct

Boolean indicating whether the dtype is a struct which maintains field alignment. This flag is sticky, so when combining multiple structs together, it is preserved and produces new dtypes which are also aligned.

Previous topic

numpy.dtype.hasobject

Next topic

numpy.dtype.isbuiltin