title: Python Pandas: Style column header
body: <p>I am using <a href="https://pandas-docs.github.io/pandas-docs-travis/reference/api/pandas.io.formats.style.Styler.html#pandas.io.formats.style.Styler" rel="noreferrer">pandas styler</a> to give some columns a background color, based on the name of the column header.
  While this works as intended, the background color of the column header doesn't change.</p>
  
  <p>Here is the part in my script where thy style is applied:</p>
  
  <pre class="lang-py prettyprint-override"><code>def highlight_col(x):
      if x.name in added_columns:
          return ['background-color: #67c5a4']*x.shape[0]
      elif x.name in dropped_columns:
          return ['background-color: #ff9090']*x.shape[0]
      else:
          return ['background-color: None']*x.shape[0]
  
  
  
  old = old.style.apply(highlight_col, axis=0)
  </code></pre>
  
  <p>Is there a way to apply the <a href="https://pandas-docs.github.io/pandas-docs-travis/reference/api/pandas.io.formats.style.Styler.apply.html#pandas.io.formats.style.Styler.apply" rel="noreferrer">style.apply()-function</a> not only to the cells below the column header, but the complete column including the column header?</p>
  
  <p>Edit:
  For clarification here is a screenshot of the excel output:
  <a href="https://i.stack.imgur.com/ahFay.png" rel="noreferrer">screenshot of excel output</a></p>
  
  <p>"Header 2" should have the same background color as the cells below it.</p>