Text of numpy.org › doc › stable › reference › generated › numpy.dtype.base.html as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

numpy.dtype.base — NumPy v2.5 Manual

Skip to main content GitHub numpy.dtype.base # attribute dtype. 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 = np . dtype ( '8f' ) >>> x . base dtype('float32') >>> x = np . dtype ( np . int16 ) >>> x . base dtype('int16') On this page