title: 'DataFrame' object has no attribute 'tolist' when I try to convert an excel file to a list
body: <p>I am trying to Read this excel file on my laptop which has only one column and I wish to transfer it to a list by pandas using:</p>
  <pre><code>years = pd.read_excel(r&quot;/Users/vijayaswani/Downloads/years.xlsx&quot;).tolist()
  </code></pre>
  <p>but I get the error</p>
  <pre><code>'DataFrame' object has no attribute 'tolist'
  </code></pre>
  <p>This is weird for me because I had a csv file earlier which I used pretty much the same code to read and transfer to a list and it works fine.</p>
  <p>What is wrong with this code and how can I get this excel file in a list?</p>
  <p>(My ultimate goal is to get a list which I can transfer to a Tkinter Combobox)</p>