code: def _dtype_to_pythontype(dtype):
      """Returns the native Python type from a Perspective type"""
      mapping = {
          t_dtype.DTYPE_BOOL: bool,
          t_dtype.DTYPE_FLOAT32: float,
          t_dtype.DTYPE_FLOAT64: float,
          t_dtype.DTYPE_UINT8: int,
          t_dtype.DTYPE_UINT16: int,
          t_dtype.DTYPE_UINT32: int,
          t_dtype.DTYPE_UINT64: int,
          t_dtype.DTYPE_INT8: int,
          t_dtype.DTYPE_INT16: int,
          t_dtype.DTYPE_INT32: int,
          t_dtype.DTYPE_INT64: int,
          t_dtype.DTYPE_DATE: date,
          t_dtype.DTYPE_TIME: datetime,
          t_dtype.DTYPE_STR: str,
      }
  
      return _extract_type(dtype, mapping)
  
file_path: perspective/python/perspective/perspective/table/_utils.py
imports: import re
  from datetime import date, datetime
  from functools import partial
  from .libpsppy import t_dtype
label_desc: Use image node_id 2 for calling a global function with example usage: _dtype_to_pythontype(dtype) and returns: _extract_type