title: How to get labels by numpy loadtext?
body: <p>I have a data file in the form of</p>
  
  <pre><code>Col0   Col1  Col2
  2015   1     4
  2016   2     3
  </code></pre>
  
  <p>The data is float, and I use <code>numpty</code> <code>loadtext</code> to make a <code>ndarray</code>. However, I need to skip the label rows and columns to have an array of the data. How can I make the <code>ndarray</code> out of the data while reading the labels too?</p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  
  data = np.loadtxt("data.csv", skiprows=1) 
  # I need to skip the first row in reading the data but still get the labels.
  x= data[:,0]
  a= data[:,1]
  b= data[:,2]
  
  plt.xlabel(COL0) # Reading the COL0 value from the file.
  plt.ylabel(COL1) # Reading the COL1 value from the file.
  plt.plot(x,a)
  </code></pre>
  
  <p><strong>NOTE:</strong> The labels (column titles) are unknown in the script. The script should be generic to work with any input file of the same structure.</p>