title: Save a numpy array to csv with a string header
body: <p>I have a large-ish numpy array containing floats, which I save as a csv file with np.savetxt("myFile.csv", myArray, delimiter=",")</p>
  
  <p>Now, as the array has many columns and it can become hard to remember what is what, I want to add a string header to the array before exporting it. Since numpy doesn't accept strings in float arrays, is there a trick to accomplish this?</p>
  
  <p>[Solution]
  Thanks to Cyborg's advice, I managed to make this work installing Pandas.</p>
  
  <pre><code>import pandas as pd
  df = pd.DataFrame(A) # A is a numpy 2d array
  df.to_excel("A.xls", header=C,index=False) # C is a list of string corresponding to the title of each column of A
  </code></pre>