title: how to write python array (data = []) to excel?
body: <p>I am writing a python program to process .hdf files,  I would like to output this data to an excel spreadsheet.  I put the data into an array as shown below:</p>
  
  <p>Code:</p>
  
  <pre><code>data = []
  
  for rec in hdfFile[:]:
      data.append(rec)
  </code></pre>
  
  <p>from here I have created a 2D array with 9 columns and 171 rows.</p>
  
  <p>I am looking for a way to iterate through this array and write each entry in order to a sheet.  I am wondering if If I should create a list instead, or how to do this with 
  the array I have created.</p>
  
  <p>Any help would be greatly appreciated.  </p>