Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. users_table = unpackdict(users_table, 'address')
  2. users_table = unpackdict(users_table, 'geo')
  3.  
  4. #select a few columns
  5. users_table = cut(users_table, 'id', 'name','username','email','phone','city','street','suite','lat','lng')
  6.  
  7. #rename column headers
  8. users_table = rename(users_table, {'name':'Name','username':'Username','email':'Email','phone':'Phone','city':'City','street':'Street','suite':'Suite','lat':'Latitude', 'lng':'Longitude'})
  9.  
  10. users_table
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement