title: Can't store output from Colab into Excel
body: <p>I wrote the code below but was unable to save it into Excel.</p>
  <pre><code>!pip install selenium
  !apt-get update # to update ubuntu to correctly run apt install
  !apt install chromium-chromedriver
  !cp /usr/lib/chromium-browser/chromedriver /usr/bin
  import sys
  sys.path.insert(0,'/usr/lib/chromium-browser/chromedriver')
  from selenium import webdriver
  chrome_options = webdriver.ChromeOptions()
  chrome_options.add_argument('--headless')
  chrome_options.add_argument('--no-sandbox')
  chrome_options.add_argument('--disable-dev-shm-usage')
  wd = webdriver.Chrome('chromedriver',chrome_options=chrome_options)
  </code></pre>
  <pre><code>lists = [&quot;FBRX&quot;, &quot;GNLN&quot;, &quot;TISI&quot;]
  
  for list in lists:
    url = &quot;https://finance.yahoo.com/quote/{list}?p={list}&quot;
    wd.get(url.format(list=list))
    EPS = wd.find_element_by_xpath('//*[@id=&quot;quote-summary&quot;]/div[2]/table/tbody/tr[4]/td[2]/span').text
    AV = wd.find_element_by_xpath('//*[@id=&quot;quote-summary&quot;]/div[1]/table/tbody/tr[8]/td[2]/span').text
    OYT = wd.find_element_by_xpath('//*[@id=&quot;quote-summary&quot;]/div[2]/table/tbody/tr[8]/td[2]/span').text
    print(list,EPS,AV,OYT)
  
  </code></pre>
  <p>It will output the below table. But after that, I can't make the below into Excel. I had tried many methods but still fail. How can I fix this?</p>
  <pre><code>FBRX -1.6060 2,031,998 3.25
  GNLN -1.0530 827,585 5.40
  TISI -2.4640 545,536 10.00
  </code></pre>