title: Print text in second column of table using beautifulsoup
body: <p>I wrote this piece of code to retrieve text from a table from <a href="http://racing4everyone.eu/formula-e-201516/" rel="nofollow noreferrer">this</a> page. When I used it for the first column it works fine:</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import urllib2 #xbmc, xbmcgui, xbmcaddon
  
  url = 'http://racing4everyone.eu/formula-e-201516/'
  page = urllib2.urlopen(url)
  soup = BeautifulSoup(page.read(), 'html.parser')
  
  for row in soup.findAll('table')[0].tbody.findAll('tr'):
      first_column = row.findAll('th')[0].text
      print first_column
  </code></pre>
  
  <p>However, when I try to extract the same data from the second column:</p>
  
  <pre><code>for row in soup.findAll('table')[0].tbody.findAll('tr'):
      second_column = row.findAll('th')[1].text
      print second_column
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>ePrix
  Traceback (most recent call last):
    File "addon.py", line 9, in &lt;module&gt;
      second_column = row.findAll('th')[1].text
  IndexError: list index out of range
  </code></pre>
  
  <p>What am I doing wrong?</p>