Exercise

Matrix multiplication

To understand matrix multiplication more directly, let's do some matrix operations manually.

Instructions

100 XP
  • Matrices a and b are Pandas dataframes. Use the .head() method on each of them to view them.
  • Work out the product of these two matrices on your own.
  • Enter the values of the product of the a and b matrices into the product array, created using np.array().
  • Use the validation on the last line of code to evaluate your estimate. The .dot() method multiplies two matrices together.