How to multiply arrays in NumPy?

I just learned that multiplying two NumPy arrays is somewhat different from multiplying two Python lists. I got to know that NumPy also provides functions that help us in multiplying two matrices. I have found one method, but it is not working properly and showing me errors.

import numpy as np
# Define the 5x3 matrix and the 3x2 matrix
matrix_A = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12], [13, 14, 15]])
matrix_B = np.array([[1, 2], [3, 4], [5, 6]])
# Multiply the matrices
result_matrix = matrix_A . matrix_B
print(result_matrix)

AttributeError                            Traceback (most recent call last)
<ipython-input-1-4ae19b021f22> in <cell line: 6>()
      4 matrix_B = np.array([[1, 2], [3, 4], [5, 6]])
      5 # Multiply the matrices 
----> 6 result_matrix = matrix_A . matrix_B
      7 print(result_matrix)

AttributeError: 'numpy.ndarray' object has no attribute 'matrix_B'

I’m not getting what this error is telling me how can I correct this code? Can someone help me correct it? You can also provide other alternatives solution if you have one.