SHARE
TWEET

Untitled

a guest Jun 25th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. u'{"vehicle_year":2010,"issue_state":"RS",...,"type":4}'
  2.      
  3. unicode
  4.      
  5. for i in range(len(df_final['metadata'])):
  6.     df_final['metadata'][i] = json.loads((df_final['metadata'][i]))
  7.     json_dumps(df_final['metadata'][i].update({'issue_state': df_final['issue_state_update'][i]}),ensure_ascii=False).encode('utf-8')
  8.      
  9. TypeError: expected string or buffer
  10.      
  11. u'{"vehicle_year":2010,"issue_state":"NO STATE",...,"type":4}'
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top