code: def filter_set(input, **params):
      
      PARAM_WHERE = 'where'
  
      return Converter.df2list(pd.DataFrame.from_records(input).query(params.get(PARAM_WHERE)))
docs: Apply WHERE filter to input dataset
      :param input:
      :param params:
      :return: filtered data