GetCATAnnotations¶
-
AQPython.Utilities.
GetCATAnnotations
(df, props=[], encodeProps=[])¶ This function converts a Dataframe of AQAnnotations to a Dataframe of CATAnnotations.
If specific properties (name-value pairs to set in the CATAnnotation other column) are desired, you have the option of specifying an Array of names (for these name-value pairs). Additionally, you have the option of specifying if the values for these name-value pairs that should be url encoded.
- Parameters
aqAnnotations – Dataframe of AQAnnotations to convert to Dataframe of CATAnnotations
props – Array of property names to make name-value pairs in the other column of CATAnnotation.
encodeProps – Array of property names to url encode the value when making name-value pairs in the other column of CATAnnotation.
- Returns
Dataframe of CATAnnotations