Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. d = {'person': ['Zach', 'Blaine', 'Julie'],
  2. 'item1': ['banana', 'apple', 'pear'],
  3. 'item2': ['apple', 'banana', 'cherries'],
  4. 'item3': ['pear', 'pineapple', 'pineapple'],
  5. 'item4': ['pineapple', 'pear', 'mango']}
  6. df = pd.DataFrame(data=d)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement