title: Error scraping twitter with twitterscraper, python?
body: <p>Why am I getting this error ?</p>
  <blockquote>
  <p>Key error 'screen_name'</p>
  <p>module body in untitled at line 20</p>
  <p>df = df.loc[df['screen_name'] == user]</p>
  </blockquote>
  <p><img src="https://i.stack.imgur.com/NUHeB.jpg" alt="screenshot" /></p>
  <pre><code>from twitterscraper import query_tweets
  from twitterscraper.query import query_tweets_from_user
  import datetime as dt 
  import pandas as pd 
  
  
  begin_date = dt.date(2020,7,1)
  end_date = dt.date(2020,7,13)
  
  
  limit = 100
  lang = 'english'
  
  #Use this to search a specific user
  
  user = 'realDonaldTrump'
  tweets = query_tweets_from_user(user)
  df = pd.DataFrame(t.__dict__ for t in tweets)
  
  df = df.loc[df['screen_name'] == user]
  
  df = df['text']
  
  df
  </code></pre>