class_docstr: A :class:`~perspective.View` object represents a specific transform
  (pivot, filter, sort, etc) configuration on an underlying
  :class:`~perspective.Table`.  :class:`~perspective.View` objects
  cannot be directly instantiated - they must be derived from an existing
  :class:`~perspective.Table` via the :func:`~perspective.Table.view()`
  method.
  
  :class:`~perspective.View` instances receive all updates from the
  :class:`~perspective.Table` from which they are derived, and can be
  serialized (via ``to_*`` methods) or trigger a callback when it is updated.
  :class:`~perspective.View` objects will remain in memory and actively
  process updates until :obj:`~perspective.View.delete()` method is called.
class_docstr_tok: ["A",":","class",":","`","~perspective.View","`","object","represents","a","specific","transform","(","pivot",",","filter",",","sort",",","etc",")","configuration","on","an","underlying",":","class",":","`","~perspective.Table","`",".",":","class",":","`","~perspective.View","`","objects","can","not","be","directly","instantiated","-","they","must","be","derived","from","an","existing",":","class",":","`","~perspective.Table","`","via","the",":","func",":","`","~perspective.Table.view","(",")","`","method",".",":","class",":","`","~perspective.View","`","instances","receive","all","updates","from","the",":","class",":","`","~perspective.Table","`","from","which","they","are","derived",",","and","can","be","serialized","(","via","``","to_","*","``","methods",")","or","trigger","a","callback","when","it","is","updated",".",":","class",":","`","~perspective.View","`","objects","will","remain","in","memory","and","actively","process","updates","until",":","obj",":","`","~perspective.View.delete","(",")","`","method","is","called","."]
docstr: Serialize the view's dataset into a :obj:`dict` of :obj:`str` keys
  and :class:`numpy.array` values.  Each key is a column name, and the
  associated value is the column's data packed into a numpy array.
  
  Keyword Args:
      start_row (:obj:`int`): (Defaults to 0).
      end_row (:obj:`int`): (Defaults to
          :func:`perspective.View.num_rows()`).
      start_col (:obj:`int`): (Defaults to 0).
      end_col (:obj:`int`): (Defaults to
          :func:`perspective.View.num_columns()`).
      id (:obj:`bool`): Whether to return a logical row ID for each
          row (Defaults to ``False``).
      index (:obj:`bool`): Whether to return an implicit pkey for each
          row (Defaults to ``False``).
      leaves_only (:obj:`bool`): Whether to return only the data at the
          end of the tree (Defaults to ``False``).
  
  Returns:
      :obj:`dict` of :class:`numpy.array`: A dictionary with string keys
          and numpy array values, where key = column name and
          value = column values.
docstr_tok: ["Serialize","the","view","'s","dataset","into","a",":","obj",":","`","dict","`","of",":","obj",":","`","str","`","keys","and",":","class",":","`","numpy.array","`","values",".","Each","key","is","a","column","name",",","and","the","associated","value","is","the","column","'s","data","packed","into","a","numpy","array",".","Keyword","Args",":","start_row","(",":","obj",":","`","int","`",")",":","(","Defaults","to","0",")",".","end_row","(",":","obj",":","`","int","`",")",":","(","Defaults","to",":","func",":","`","perspective.View.num_rows","(",")","`",")",".","start_col","(",":","obj",":","`","int","`",")",":","(","Defaults","to","0",")",".","end_col","(",":","obj",":","`","int","`",")",":","(","Defaults","to",":","func",":","`","perspective.View.num_columns","(",")","`",")",".","id","(",":","obj",":","`","bool","`",")",":","Whether","to","return","a","logical","row","ID","for","each","row","(","Defaults","to","``","False","``",")",".","index","(",":","obj",":","`","bool","`",")",":","Whether","to","return","an","implicit","pkey","for","each","row","(","Defaults","to","``","False","``",")",".","leaves_only","(",":","obj",":","`","bool","`",")",":","Whether","to","return","only","the","data","at","the","end","of","the","tree","(","Defaults","to","``","False","``",")",".","Returns",":",":","obj",":","`","dict","`","of",":","class",":","`","numpy.array","`",":","A","dictionary","with","string","keys","and","numpy","array","values",",","where","key","=","column","name","and","value","=","column","values","."]
code: def to_numpy(self, **options):
      """Serialize the view's dataset into a :obj:`dict` of :obj:`str` keys
      and :class:`numpy.array` values.  Each key is a column name, and the
      associated value is the column's data packed into a numpy array.
  
      Keyword Args:
          start_row (:obj:`int`): (Defaults to 0).
          end_row (:obj:`int`): (Defaults to
              :func:`perspective.View.num_rows()`).
          start_col (:obj:`int`): (Defaults to 0).
          end_col (:obj:`int`): (Defaults to
              :func:`perspective.View.num_columns()`).
          id (:obj:`bool`): Whether to return a logical row ID for each
              row (Defaults to ``False``).
          index (:obj:`bool`): Whether to return an implicit pkey for each
              row (Defaults to ``False``).
          leaves_only (:obj:`bool`): Whether to return only the data at the
              end of the tree (Defaults to ``False``).
  
      Returns:
          :obj:`dict` of :class:`numpy.array`: A dictionary with string keys
              and numpy array values, where key = column name and
              value = column values.
      """
      return to_format(options, self, "numpy")
  
imports: import pandas
  import json
  import datetime
  from functools import partial, wraps
  from random import random
  from .view_config import ViewConfig
  from ._data_formatter import to_format, _parse_format_options
  from ._constants import COLUMN_SEPARATOR_STRING
  from ._utils import _str_to_pythontype
  from ._callback_cache import _PerspectiveCallBackCache
  from ._date_validator import _PerspectiveDateValidator
  from .libpsppy import make_view_unit, make_view_zero, make_view_one, make_view_two, to_arrow_unit, to_arrow_zero, to_arrow_one, to_arrow_two, to_csv_unit, to_csv_zero, to_csv_one, to_csv_two, get_row_delta_unit, get_row_delta_zero, get_row_delta_one, get_row_delta_two, scalar_to_py
label_desc: Use image node_id 24 for calling the View obj's underlying member method code with example usage: obj.to_numpy() and returns: to_format