Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- d = {'person': ['Zach', 'Blaine', 'Julie'],
- 'item1': ['banana', 'apple', 'pear'],
- 'item2': ['apple', 'banana', 'cherries'],
- 'item3': ['pear', 'pineapple', 'pineapple'],
- 'item4': ['pineapple', 'pear', 'mango']}
- df = pd.DataFrame(data=d)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement