How to find the average of samples at random intervals?
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_process2. 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 below3. final_average column i...