Parsing old tweets and putting their attributes into a Pandas dataframe
<p>I am trying to pull a selection of old tweets and then put various attributes into a Pandas dataframe.  My code is below.  However, when I run the final line, I get a dataframe that only contains attribute data for one tweet rather than for all of them in my selection.</p>

<p>Can someone tell me where my error is?  How do I get each tweet into the dataframe as a separate row?</p>

<pre><code>import got3
#Need this to get older tweets

tweetCriteria = got3.manager.TweetCriteria() 
tweetCriteria.setQuerySearch("Kentucky Derby")
tweetCriteria.setSince("2016-05-07") 
tweetCriteria.setUntil("2016-05-08") 
tweetCriteria.setMaxTweets(1000)
#Here I set the parameters for the old tweets I am seeking 

TweetCriteria = got3.manager.TweetCriteria()
KYDerby_tweets = got3.manager.TweetManager.getTweets(tweetCriteria)
#Named my list of tweets

for x in KYDerby_tweets:
    Text = x.text
    Retweets = x.retweets
    Favorites = x.favorites
    Date = x.date
    Id = x.id
    #created variables for each of the attributes I want in the dataframe

df = pd.DataFrame(DataSet)
df
#result here is a 1x6 dataframe containing just one tweet, rather than the 1000x6 dataframe I want, which would contain all of the tweets from my selection...
</code></pre>