title: Update muliple column values based on condition in python
body: <p>I have a dataframe like this,</p>
  
  <pre><code>ID    00:00  01:00  02:00  ...   23:00   avg_value
  22      4.7     5.3     6   ...    8         5.5
  37       0      9.2    4.5  ...    11.2      9.2
  4469     2      9.8    11   ...    2         6.4
  </code></pre>
  
  <p>Can I use <code>np.where</code> to apply conditions on multiple columns at once? 
  I want to update the values from 00:00 to 23:00 to <code>0</code> and <code>1</code>. If the value at the time of day is greater than <code>avg_value</code> then I change it to <code>1</code>, else to <code>0</code>.</p>
  
  <p>I know how to apply this method to one single column. </p>
  
  <pre><code>np.where(df['00:00']&gt;df['avg_value'],1,0)
  </code></pre>
  
  <p>Can I change it to multiple columns?</p>
  
  <p>Output will be like,</p>
  
  <pre><code>ID    00:00  01:00  02:00  ...   23:00   avg_value
  22      0     1       1    ...      1       5.5
  37      0     0       0    ...      1       9.2
  4469    0     1       1    ...      0       6.4
  </code></pre>