df_1
product_name amount price
a 1 1
b 2 2
c 3 3
d 4 4
df_2
product_name amount
a 1
b 2
Here is Sample of two data frame in pandas.
I want to make it subtracted amount with product_names
like a product will be amount 0 and b product also amount 0... with product_name column value.
thx for your time