I need to find out total invoice value for each supplier and create a new dataframe with unique supplier names as follows.
Asked
Active
Viewed 66 times
1 Answers
0
Try this:
sum_by_supplier = (df.groupby('Supplier Name')['Invoice Value'].sum()).reset_index()

sophocles
- 13,593
- 3
- 14
- 33