title: Parsing HTML table to pandas with beautiful soup
body: <p>I want to parse the "Team Batting" table from </p>
  
  <pre><code>http://www.baseball-reference.com/teams/NYM/2017.shtml
  </code></pre>
  
  <p>I can find the html table:</p>
  
  <pre><code>table = soup.find('div', attrs={'class': 'overthrow table_container'})
  table_body = table.find('tbody')
  </code></pre>
  
  <p>And I can find the data in the table and store it into a list:</p>
  
  <pre><code>table_text=[]
  for tr in table_body.findAll('tr'):
      tds = tr.findAll('td')
      for td in tds:
          table_text.append(td.get_text())
  </code></pre>
  
  <p>How can I re-create this table in pandas? I was thinking of creating a dictionary but am not sure how to from this data.  How can I scrape this html table and display it?</p>