title: Selenium scraped data to pandas dataframe
body: <p>It is my first attempt for scraping with selenium.</p>
  
  <p>I collected what I want but I want to pass it to pandas dataframe in order to make some calculations.</p>
  
  <p>below sample code is how I get the data;</p>
  
  <p>(it is a financial data and [2] and [3] represents years(2016,2017) respectively)</p>
  
  <pre><code>nf1 = driver.find_element_by_xpath('//*[@id="tbodyMTablo"]/tr[84]/td[2]').text
  nf2 = driver.find_element_by_xpath('//*[@id="tbodyMTablo"]/tr[84]/td[3]').text
  
  do_v1 = driver.find_element_by_xpath('//*[@id="tbodyMTablo"]/tr[2]/td[2]').text
  do_v2 = driver.find_element_by_xpath('//*[@id="tbodyMTablo"]/tr[2]/td[3]').text
  
  kvb_1 = driver.find_element_by_xpath('//*[@id="tbodyMTablo"]/tr[29]/td[2]').text
  kvb_2 = driver.find_element_by_xpath('//*[@id="tbodyMTablo"]/tr[29]/td[3]').text
  </code></pre>
  
  <p>It is a numerical data but stored as str(probably because of .text) and <code>int(nf2)</code>  or <code>float(nf2</code>) didn't work. </p>
  
  <p>Is there any way to store as values in first place?
  ( without <code>.text</code> it returns 0)</p>
  
  <p>What is the proper way to scrape numerical data and store it in dataframe?</p>
  
  <p>Thanks in advance.</p>