I have a csv file that stores temp values. I have to find the group average for certain set of samples according to below steps:
1. Make all temp values les than 25 equal to zero i.e.column post_process
2. group_avg column is derived by ignoring rows with greater than or equal to 4 consecutive zeroes. Followed by calculating the average of the group of samples as shown below
3. final_average column is the results generated from group_avg column
How can we script this process using jsl?
Attaching the csv file
Final result is final_average as in the table below:
