Exercise
Its time to start running some time series queries using the RTDIP SDK.
-
Using the python file you created in the previous exercise, import the necessary time series query classes from the RTDIP SDK.
-
Pass the connector you created in the previous exercise to the time series query class.
-
Run a
Rawquery to retrieve some data from your time series data source. -
Now run a query to
Resamplethis data to a 15 minute interval average. -
Convert the resample query to an
Interpolationquery that executes thelinearinterpolation method. -
Finally, try running a
Time Weighted Averagequery on the data, withStepset to False.
Additional Task
- The data returned from these queries is in the form of a pandas DataFrame. Use the
matplotliborplotlylibrary to plot the data returned from theTime Weighted Averagequery.
Course Progress
- Introduction
- SDK
- Authentication
- Connectors
- Queries
- Power BI
- APIs
- Excel Connector