code: def filter(table, predicates):
      
      resolved_predicates = _resolve_predicates(table, predicates)
      return _L.apply_filter(table, resolved_predicates)
docs: Select rows from table based on boolean expressions
  
      Parameters
      ----------
      predicates : boolean array expressions, or list thereof
  
      Returns
      -------
      filtered_expr : TableExpr