title: Finding groups of numbers within a row across columns above a specific threshold
body: <p>I'm trying to identify "responders" in a data set as defined by a patient having a certain clinical metric be >= 2 across 4 weeks. </p>
  
  <p>I have a data set for patients of the below format, but for many more:</p>
  
  <pre><code>pt_num   week_0   week_1    week_2   week_3   week_4   week_5   week_6  week_7   week_8
     1        0       2          3       3        4         3       2       1         1
     2        0       2          3       3        1         3       2       1         1
  
  </code></pre>
  
  <p>In the example above patient 1 would be a responder, patient 2 would not.</p>
  
  <p>I have an idea on how to do this through looping over every row and cell - but I'm hoping there is a much more efficient way to do this - any help appreciated. </p>