title: How to find out how many times a max value occurs in pandas?
body: <p>I wondered how to solve the following problem in pandas: </p>
  
  <p>I have a dataframe with a number of rows that have different values and would like to find out how often the highest value occurs per row. I have used df2 ['MAX_Value']=df2.max(axis=1) to get the highest value per row. </p>
  
  <p>This is an example of my dataframe:</p>
  
  <pre><code>Col1 Col2 Col3 Col4 Col5 Col6 MAX_Value 
  0      5   6    6    6    3     6
  </code></pre>
  
  <p>Thank you! </p>