code: def _pythontype_to_str(typestring):
      """Returns the normalized string representation of a Perspective type from
      a Python type object.
      """
      mapping = {
          bool: "boolean",
          float: "float",
          int: "integer",
          date: "date",
          datetime: "datetime",
          str: "string",
          object: "object",
      }
  
      return _extract_type(typestring, 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 5 for calling a global function with example usage: _pythontype_to_str(typestring) and returns: _extract_type