Cannot get Pandas to concat/append
<p>I'm trying to parse a website's tables and I'm pretty noobish still. For each link only the second table/dataframe is appended to the SS. There are multiple links and therefore it requires a while loop. Using what little I could find only I am just stuck with this which Im pretty sure is totally off:</p>

<pre><code>import pandas as pd
from pandas import ExcelWriter
a=1
alist = []
writer = ExcelWriter('name.xlsx')
def dffunc():
    dfs = pd.read_html('http://websitepath{}.htm'.format(a))
    df = dfs[1]
    alist.append(df,ignore_index=True)
    alist = pd.concat(df, axis=0)


while a&lt;9:
    dffunc()
    a+=1
alist.to_excel(writer, index=False)
writer.save()
</code></pre>