title: Read the last column from an Excel file with pandas
body: <p>It's like <a href="https://stackoverflow.com/q/33655127/6666231">how to read certain columns from Excel using Pandas - Python</a> but a little bit more complicated.</p>
  
  <p>Say I have an Excel file called "foo.xlsx" and it grows over time - a new column will be appended on the right every month. However, when I read it, I need only the first two and the last columns. I expected <code>usecols</code> parameter can solve this problem so I went <code>df = pd.read_excel("foo.xlsx", usecols=[0, 1, -1])</code> but it gives me only the first two columns.</p>
  
  <p>My workaround turns out to be:</p>
  
  <pre><code>df = pd.read_excel("foo.xlsx")
  df = df[df.columns[[0, 1, -1]]]
  </code></pre>
  
  <p>But it needs reading the whole file every time. Is there any way that I can get my desired data frame while reading the file? Thanks.</p>