Advertisement
Guest User

2/2/7

a guest
Apr 9th, 2020
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. import pandas as pd
  2. purchases = pd.read_csv('/datasets/purchase_data.csv')
  3.  
  4. purchases['total'] = purchases['single'] + purchases['repeated']
  5. print(purchases['total'])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement