-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
This is an enhancement request.
In IoT Analytic, we have a use case to display the lab temperature with its Z-score. Z-score is in the range of (-4 to 4), the temperaure is in the range 16C to 23C.
In Zeppelin, we can easily do the following:
%sql
select index, temperature as Temperature, if ((zscore>3), zscore+17.5, 17.5) as Alert
It will overlay the Alert (ZScore) on top of Temperature so the chart is easy to understand.
In Brunel, this kind of data manipulation has to be done to the DataFrame before passing it to a Brunel plotting command. You have to have the new column ready. It is a design choice, but manipulating the existing data inside Brunel can give data scientist a lot of flexibility to discover the data trend.