daily pastebin goal
5%
SHARE
TWEET

necsi_ss_code

a guest Jun 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import json
  2. from collections import Counter
  3.  
  4. with open("dataset_20180613122533.json", 'r') as f:
  5.     tweets=json.load(f)
  6.  
  7. names = []
  8.  
  9. for tweet in tweets:
  10.     print(tweet['user']['name'], tweet['user']['screenname'])
  11.     names.append(tweet['user']['name'])
  12.  
  13.  
  14. t = Counter(names)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top