docstr: Returns the schema of this :class:`~perspective.Table`, a :obj:`dict`
  mapping of string column names to python data types.
  
  Keyword Args:
      as_string (:obj:`bool`): returns the data types as string
          representations, if True
  
  Returns:
      :obj:`dict`: A key-value mapping of column names to data types.
docstr_tok: ["Returns","the","schema","of","this",":","class",":","`","~perspective.Table","`",",","a",":","obj",":","`","dict","`","mapping","of","string","column","names","to","python","data","types",".","Keyword","Args",":","as_string","(",":","obj",":","`","bool","`",")",":","returns","the","data","types","as","string","representations",",","if","True","Returns",":",":","obj",":","`","dict","`",":","A","key-value","mapping","of","column","names","to","data","types","."]
code: def schema(self, as_string=False):
      """Returns the schema of this :class:`~perspective.Table`, a :obj:`dict`
      mapping of string column names to python data types.
  
      Keyword Args:
          as_string (:obj:`bool`): returns the data types as string
              representations, if True
  
      Returns:
          :obj:`dict`: A key-value mapping of column names to data types.
      """
      s = self._table.get_schema()
      columns = s.columns()
      types = s.types()
      schema = {}
      for i in range(0, len(columns)):
          if columns[i] != "psp_okey":
              if as_string:
                  schema[columns[i]] = _dtype_to_str(types[i])
              else:
                  schema[columns[i]] = _dtype_to_pythontype(types[i])
      return schema
  
imports: from datetime import date, datetime
  from ..core.exception import PerspectiveError
  from ._accessor import _PerspectiveAccessor
  from ._callback_cache import _PerspectiveCallBackCache
  from ._date_validator import _PerspectiveDateValidator
  from ._state import _PerspectiveStateManager
  from ._utils import _dtype_to_pythontype, _dtype_to_str, _parse_expression_inputs, _str_to_pythontype
  from .libpsppy import make_table, update_table, str_to_filter_op, t_dtype, t_filter_op, t_op, validate_expressions
  from .view import View
label_desc: Use image node_id 12 for calling the Table obj's underlying member method code with example usage: obj.schema(as_string) and returns: schema