title: How to use `style` in conjunction with the `to_html` classes on a DataFrame?
body: <p>I have a DataFrame like </p>
  
  <pre><code>df = pd.DataFrame(np.random.randn(10).reshape(2, 5))
  
  df
  #              0         1         2         3         4
  #    0 -0.067162 -0.505401 -0.019208  1.123936  0.087682
  #    1 -0.373212 -0.598412  0.185211  0.736143 -0.469111
  </code></pre>
  
  <p>I am trying to output this DataFrame as HTML, and was previously using <code>to_html</code> like </p>
  
  <pre><code>df.to_html(classes=['table', 'table-hover', 'table-bordered'], 
             float_format=lambda x: '{0:.3f}s'.format(x))
  </code></pre>
  
  <p>But then I came across the <a href="http://pandas.pydata.org/pandas-docs/stable/style.html" rel="noreferrer">Style</a> feature, and thought that it would be nice to have a styler for the floats in my DataFrame. Like</p>
  
  <pre><code>def colorize(num)
      color = 'red' if (np.isnan(num) or num &gt; 0) else 'green'
      return 'color: %s' % color
  </code></pre>
  
  <p>which I can apply to my DataFrame with </p>
  
  <pre><code>df_styler = df.Style.applymap(colorize)
  </code></pre>
  
  <p>But now <code>df_styler</code> is a <a href="http://pandas.pydata.org/pandas-docs/stable/generated/pandas.formats.style.Styler.html" rel="noreferrer"><code>Styler</code></a> object, and though it has a <code>render</code> method, I don't see how I can pass the <code>classes</code> list or float formatter which I was using with <code>to_html</code> anymore... </p>
  
  <p>Is there a way that I can combine using <code>Style</code> functions and the CSS classes / formatters found in <code>to_html</code>?</p>