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 31 times
1 Answers
0
Try this:
sum_by_supplier = (df.groupby('Supplier Name')['Invoice Value'].sum()).reset_index()
sophocles
- 11,440
- 3
- 12
- 27