class_docstr: A Filter computed from a numexpr expression.
class_docstr_tok: ["A","Filter","computed","from","a","numexpr","expression","."]
docstr: Helper for creating new NumExprFactors.
  
  This is just a wrapper around NumericalExpression.__new__ that always
  forwards `bool` as the dtype, since Filters can only be of boolean
  dtype.
docstr_tok: ["Helper","for","creating","new","NumExprFactors",".","This","is","just","a","wrapper","around","NumericalExpression.__new__","that","always","forwards","`","bool","`","as","the","dtype",",","since","Filters","can","only","be","of","boolean","dtype","."]
code: def create(cls, expr, binds):
      """
      Helper for creating new NumExprFactors.
  
      This is just a wrapper around NumericalExpression.__new__ that always
      forwards `bool` as the dtype, since Filters can only be of boolean
      dtype.
      """
      return cls(expr=expr, binds=binds, dtype=bool_dtype)
  
imports: from itertools import chain
  from operator import attrgetter
  from numpy import float64, nan, nanpercentile
  from catalyst.errors import BadPercentileBounds, NonExistentAssetInTimeFrame, UnsupportedDataType
  from catalyst.lib.labelarray import LabelArray
  from catalyst.lib.rank import is_missing
  from catalyst.pipeline.expression import BadBinaryOperator, FILTER_BINOPS, method_name_for_op, NumericalExpression
  from catalyst.pipeline.mixins import AliasedMixin, CustomTermMixin, DownsampledMixin, LatestMixin, PositiveWindowLengthMixin, RestrictedDTypeMixin, SingleInputMixin
  from catalyst.pipeline.term import ComputableTerm, Term
  from catalyst.utils.input_validation import expect_types
  from catalyst.utils.memoize import classlazyval
  from catalyst.utils.numpy_utils import bool_dtype, repeat_first_axis
label_desc: Use image node_id 1 for calling the NumExprFilter obj's underlying member method code with example usage: obj.create(cls, expr, binds) and returns: cls