And

AQPython.Query.And(left, right, limit=0, negate=False, leftOnly=True)

Provide the ability to find annotations that are in the same document.

The input is 2 Dataframes of AQAnnotations. We will call them A and B. The purpose is to find those annotations in A and B that are in the same document.

Parameters
  • left – Dataframe of AQAnnotations

  • right – Dataframe of AQAnnotations.

  • limit – Number of AQAnnotations to return.

  • negate – think and NOT (only return annotations from A that are not in B). Default is false.

  • leftOnly – Reuturn only the left or the left and right. The default is to only return the left.

Returns

Dataframe of AQAnnotations