docstr: Removes all the rows in the :class:`~perspective.Table`, but
  preserves everything else including the schema and any callbacks or
  registered :class:`~perspective.View`.
docstr_tok: ["Removes","all","the","rows","in","the",":","class",":","`","~perspective.Table","`",",","but","preserves","everything","else","including","the","schema","and","any","callbacks","or","registered",":","class",":","`","~perspective.View","`","."]
code: def clear(self):
      """Removes all the rows in the :class:`~perspective.Table`, but
      preserves everything else including the schema and any callbacks or
      registered :class:`~perspective.View`.
      """
      self._state_manager.remove_process(self._table.get_id())
      self._table.reset_gnode(self._gnode_id)
  
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 7 for calling the Table obj's underlying member method code with example usage: obj.clear() without return types