title: how to create a dataframe from a table in a word document (.docx) file using pandas
body: <p>I have a word file (.docx) with table of data, I am trying to create a pandas data frame using that table, I have used docx and pandas module. But I could not create a data frame.</p>
  
  <pre><code>from docx import Document
  document = Document('req.docx')
  for table in document.tables:
      for row in table.rows:       
          for cell in row.cells:        
              print (cell.text)
  </code></pre>
  
  <p>and also tried to read table as df <code>pd.read_table("path of the file")</code></p>
  
  <p>I can read the data cell by cell but I want to read the entire table or any particular column. Thanks in advance</p>