title: Turn html table into CSV using beautifulsoup
body: <p>I'm new to scraping and I can't figure out how to get the data that I need from a certain website. Here is my code: </p>
  
  <pre><code>from lxml import html
  import requests
  from bs4 import BeautifulSoup
  import pandas as pd
  
  website_url = requests.get('https://thereserve2.apx.com/mymodule/reg/prjView.asp?id1=1295').text
  soup = BeautifulSoup(website_url,'lxml')
  print(soup.prettify())
  
  table = soup.table
  table_rows = table.find_all('tr')
  
  for tr in table_rows:
      td = tr.find_all('td')
      row = [i.text for i in td]
      print(row)
  
  df = pd.DataFrame()
  df['Rows'] = row
  df
  </code></pre>
  
  <p>The output is showing the table like <code>['Column 1','Column 2']</code> so it should be easy to turn it into a exportable table but it isn't working for some reason.</p>