title: Time series problem, find numbers of count which is above than threshold . count 1 if value continue above than threshold for one hrs
body: <p>I have Index (2010 to 2013 hr basis  &amp; have sensor column.   I have a threshold value which is 65, in sensor columns some value above 65 and some value below 65. I have to find numbers of count which are above 65 but the condition is if value continuos above 65 in one hr so will be count as 1.</p>