title: Pandas Mean for Certain Column
body: <p>I have a pandas dataframe like that:</p>
  
  <p><a href="https://i.stack.imgur.com/KOZan.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KOZan.png" alt="enter image description here"></a></p>
  
  <p>How can I able to calculate mean (min/max, median) for specific column if Cluster==1 or CLuster==2?</p>
  
  <p>Thanks!</p>