title: How to save the Pandas dataframe/series data as a figure?
body: <p>It sounds somewhat weird， but I need to save the Pandas console output string to png pics. For example:</p>
  
  <pre><code>&gt;&gt;&gt; df
                     sales  net_pft     ROE    ROIC
  STK_ID RPT_Date                                  
  600809 20120331  22.1401   4.9253  0.1651  0.6656
         20120630  38.1565   7.8684  0.2567  1.0385
         20120930  52.5098  12.4338  0.3587  1.2867
         20121231  64.7876  13.2731  0.3736  1.2205
         20130331  27.9517   7.5182  0.1745  0.3723
         20130630  40.6460   9.8572  0.2560  0.4290
         20130930  53.0501  11.8605  0.2927  0.4369 
  </code></pre>
  
  <p>Is there any way like <code>df.output_as_png(filename='df_data.png')</code> to generate a pic file which just display above content inside?</p>