#NEWLINE# def filter( table , predicates ) : #NEWLINE# #INDENT# '\n    Select rows from table based on boolean expressions\n\n    Parameters\n    ----------\n    predicates : boolean array expressions, or list thereof\n\n    Returns\n    -------\n    filtered_expr : TableExpr\n    ' #NEWLINE# resolved_predicates = _resolve_predicates ( table , predicates ) #NEWLINE# return _L . apply_filter ( table , resolved_predicates )