Untitled

mail@pastecode.io avatar
unknown
python
3 years ago
169 B
2
Indexable
Never
import pandas as pd 
purchases = pd.read_csv('/datasets/returned.csv')
purchases['total']  = purchases['first'].sum() + purchases['repeated'].sum()

print(purchases)