code: def to_numpy_type(cls, t):
      from decimal import Decimal
  
      import numpy as np
  
      if t == cls.INT8:
          np_type = np.int8
      elif t == cls.UINT8:
          np_type = np.uint8
      elif t == cls.INT16:
          np_type = np.int16
      elif t == cls.INT32:
          np_type = np.int32
      elif t == cls.INT64:
          np_type = np.int64
      elif t == cls.UNICODE:
          np_type = np.unicode_
      elif t == cls.BOOL:
          np_type = np.bool_
      elif t == cls.FLOAT32:
          np_type = np.float32
      elif t == cls.FLOAT64:
          np_type = np.float64
      elif t == cls.DECIMAL:
          np_type = Decimal
      elif t == cls.STR:
          np_type = np.str_
      elif t == cls.DATETIME:
          np_type = np.datetime64
      elif t == cls.ANYTYPE:
          np_type = np.dtype(object)
      else:
          raise ValueError("Can not auto convert %s to numpy type" % t)
  
      return np_type
  
imports: from evadb.utils.generic_utils import EvaDBEnum
label_desc: Use image node_id 1 for calling the NdArrayType obj's underlying member method code with example usage: obj.to_numpy_type(cls, t) and returns: np_type