title: openpyxl module - can't find openpyxl.utils.dataframe.dataframe_to_rows function
body: <p>I am currently working with Pandas and Excel and am using the openpyxl module.</p>
  
  <p>I am attempting to write a DataFrame to excel, and the openpyxl documentation states that one should use the "openpyxl.utils.dataframe.dataframe_to_rows()" function. (<a href="http://openpyxl.readthedocs.io/en/default/pandas.html" rel="nofollow noreferrer">http://openpyxl.readthedocs.io/en/default/pandas.html</a>)</p>
  
  <p>However when I try to use it I get the following error:</p>
  
  <pre><code>from openpyxl.utils.dataframe import dataframe_to_rows
  
  for r in dataframe_to_rows(df, index=True, header=True):
      ws.append(r)
  
  ImportError: No module named 'openpyxl.utils.dataframe'
  </code></pre>
  
  <p>I have tried:</p>
  
  <pre><code>import openpyxl.utils
  </code></pre>
  
  <p>Which works with no issues.</p>
  
  <p>Also when I run:</p>
  
  <pre><code>dir(openpyxl.utils)
  </code></pre>
  
  <p>I don't see any mention of "dataframe".</p>
  
  <p>Am I doing something wrong, or is the documentation for openpyxl out of date?</p>
  
  <p>Anyone have any ideas about how i can easily transfer a dataframe into an excel workbook that i have opened with openpyxl?</p>