Python Unique DF in loop : <p>I am currently writing web scraping code to scrape the PGA Tour website. I have provided a sample of a loop I am using. I would like to create a unique dataframe for every iteration through j. In the end I will have several hundred dataframes. I would like the dataframes to be listed as df1, df2, df3,...</p>

<p>I would then like to export all of the dataframes as a csv.</p>

<p>Thanks!</p>

<pre><code>for j in range(0, 500):
    for k in range(1,9):
        try:
            print(j)
            df1 = url_base_1 + str(j) + url_base_2
            df2 = make_dataframe(df1.format(year), int(k))
            print(k)
        except:
            pass
</code></pre>
