Im trying to create a function called get_total_produce that takes a column value from 'Name' and multiplies the values of 'Fruit' & 'Vegetables' in that row to return the total number of produce. How can I do do this with Pandas?
Current Code
import pandas as pd
df = pd.DataFrame(pd.read_excel('Produce.xlsx'))
Input for desired output
get_total_produce('Kroger')
Desired Output
280