butter_prices
Almond butter Peanut butter Cashew butter
Price 10 8 12
weekly_sales
Almonds butter Peanut butter Cashew butter
Mon 12 15 0
Tues 3 3 7
Wed 9 19 18
Thurs 4 6 12
Fri 1 6 7
Now, while doing
butter_prices.shape, weekly_sales.shape
((1, 3), (5, 3))
now the error shows while calculating
butter_prices.dot(weekly_sales.T)
ValueError: matrices are not aligned
Expected the Dot product of two
Pass the
valuesOr align the name