title: How to construct a side-by-side boxplot for a pandas dataframe
body: <p>Men and women are in a column labeled 'sex'. I want to plot them according to their happiness levels. 
  So, one figure two columns and one row. </p>
  
  <p>I have tried to extract each gender:</p>
  
  <pre class="lang-py prettyprint-override"><code>men = df[df['sex'] == 'Men']
  women = df[df['sex'] == 'Women']
  df_happy_sex = df[['happy', 'sex']].copy()
  </code></pre>
  
  <p>![<a href="https://ibb.co/yqmWKkf]" rel="nofollow noreferrer">https://ibb.co/yqmWKkf]</a></p>