title: python pandas: how to format big numbers in powers of ten in latex
body: <p>I'm using pandas to generate some large LaTex tables with big/small numbers:</p>
  
  <pre><code>df = pd.DataFrame(np.array(outfile),columns=['Halo','$r_{v}$','etc'])
  df.to_latex("uvFlux_table_{:.1f}.tex".format(z))
  </code></pre>
  
  <p>where "outfile" is just a table of numbers (3 columns)... How can I get the numbers in outfile to be formated like:</p>
  
  <pre><code>$1.5x10^{12}$  &amp;   $1.5x10^{12}$  &amp;  $1.5x10^{-12}$
  </code></pre>
  
  <p>-- like you'd see in a scientific publication... vs the default</p>
  
  <pre><code>0.15e13 &amp; 0.15e13 &amp; 0.15e-11
  </code></pre>
  
  <p>??</p>