max_tweets = 5
tweetCriteria = got.manager.TweetCriteria().setSince("2011-01-01").setUntil("2011-01-31").setQuerySearch("Zika").setMaxTweets(max_tweets)
for i in range(max_tweets):
tweet = got.manager.TweetManager.getTweets(tweetCriteria)[i]
print(tweet.id)
print(tweet.username)
print(tweet.text)
print(tweet.date)
df = pd.DataFrame(index=range(max_tweets),columns= [ids,texts,times],dtype='float')
#我的问题是如何将输出导入.csv FORMAT。我尝试过使用过 上面的代码但不成功。真的需要帮助。先谢谢