FilterProperty

AQPython.Query.FilterProperty(df, name, value='', valueArr=[], valueCompare='=', limit=0, negate=False)

Provide the ability to filter a Dataframe of AQAnnotations based on the value matching the specified property value in the map.

Parameters
  • df – Dataframe of AQAnnotations that will be filtered by the specified property name and value.

  • name – Name of the property to filter.

  • value – Value of the named property to filter.

  • valueArr – The array of values of the named property to filter. An OR will be applied to the Strings. Only used if value was not specified.

  • valueCompare – Comparison operator to use for the property filter. Default is ‘=’. Possible values are ‘=’ and ‘!=’ when valueArr specified. Possible values are ‘=’,’!=’,’<’,’<=’,’>’, and ‘>=’ otherwise.

  • limit – Number of AQAnnotations to return.

  • negate – Whether to negate the entire query. Default is false.

Returns

Dataframe of AQAnnotations