Open mythicalhacker opened 6 years ago
Reading Tweets
Structuring Tweets
Traceback (most recent call last): File "read_tweets.py", line 131, in main() File "read_tweets.py", line 44, in main tweets['text'] = map(lambda tweet: tweet['text'], tweets_data) File "read_tweets.py", line 44, in tweets['text'] = map(lambda tweet: tweet['text'], tweets_data) KeyError: 'text'
Reading Tweets
Structuring Tweets
Traceback (most recent call last): File "read_tweets.py", line 131, in
main()
File "read_tweets.py", line 44, in main
tweets['text'] = map(lambda tweet: tweet['text'], tweets_data)
File "read_tweets.py", line 44, in
tweets['text'] = map(lambda tweet: tweet['text'], tweets_data)
KeyError: 'text'