title: Python How to Import xlsx file using numpy
body: <p>I am having no trouble importing csv data using numpy, but keep getting an error for my xlsx file. How do I convert the xlsx file to csv or how to I import xlsx file to the x2 variable?</p>
  
  <pre><code>from matplotlib import pyplot as pp
  import numpy as np
  
  #this creates a line graph comparing flight arrival time, arrival in queue, and processing time
  
  x,y = np.loadtxt ('LAX_flights.csv',
                  unpack = True,
                  usecols = (1,2),
                  delimiter = ',')
  
  print("Imported data set arrival time")
  
  x2 = np.loadtext ('First_Persons_PT.xlsx',
                 unpack = True,
                 usecols=(0))
  
  print ("Imported start of processing time")
  
  
  #y2=
  #print ("Imported final time when processed")
  
  pp.plot(x,y, 'g', linewidth = 1)
  #pp.plot(x2,y, 'y', linewidth = 1)
  pp.grid(b=True, which = 'major', color='0', linestyle='-')
  
  pp.title('Comparing Time of Arrival vs. Queue Arrival Time, Queue Finish Time')
  pp.ylabel('Arrival in queue (Green),Process Time (Yellow)')
  pp.xlabel('Time of arrival')
  
  pp.savefig('line_graph_comparison.png')
  </code></pre>
  
  <p>Here is the error</p>
  
  <pre><code>Imported data set arrival time
  Traceback (most recent call last):
    File "C:\Users\fkrueg1\Dropbox\forest_python_test\Graph_time_of_arrival.py", line 13, in &lt;module&gt;
      x2 = np.loadtext ('First_Persons_PT.xlsx',
  AttributeError: 'module' object has no attribute 'loadtext'
  </code></pre>
  
  <p>The xlsx is just a single column of about 100 numbers</p>