numpy.dtype.base
атрибут
- dtype.base
-
Возвращает dtype для базового элемента подмассивов, независимо от их размерности или формы.
См. также
Примеры
>>> x = numpy.dtype('8f') >>> x.base dtype('float32')>>> x = numpy.dtype('i2') >>> x.base dtype('int16')
© 2005–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.dtype.base.html