AQLQuery::Execute_DF

This function is part of the AQLQuery class.

Execute_DF is used to run an AQL query on the ARDI server and convert the historical information returned into a Pandas dataframe.

Python does a considerable amount of processing on the data to give you a Complete Dataframe.

If the data doesn't contain historical information (ie. the query doesn't use the GETHISTORY function), we suggest using Execute.

Parameters

NameDescriptionDefault
QueryThe AQL query to run
namemapA map used to rename the channels of data from ARDINone
serverzoneThe timezone of the server
localzoneThe 'local' timezone you want the results in
mapbadUsed to replace specific data values with N/ANone
mapnaA dictionary linking column names to the value you want to replace any 'bad' data with.None
autofillFill missing valuesTrue
padPad the results with missing timesTrue

Return Value

This function returns a Pandas Complete Dataframe with all of the data from your query.

If no timezones are given, your resulting data will usually be in UTC.