función numpy.dtype.base() – Python

numpy.dtype.base()La función devuelve dtype para el elemento base de los subarreglos, independientemente de su dimensión o forma. Sintaxis: numpy.dtype.base() Retorno: Devuelve el tipo de datos del elemento base. Código #1: # Python program explaining # numpy.dtype.base() function           # importing numpy as geek  import numpy as geek        x = geek.dtype(‘i2’)     gfg = x.base … Continue reading «función numpy.dtype.base() – Python»