update variable if two values are matched should be substracted from total number of orders stored in variable z

hey i am new kindly guide how i can update my orders if onlineorders and store are data frames of 10 enteries
z=onlineorders==store
orders=orders-z
print(orders)
is it right ?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.