# Compute pearson product-moment correlation coefficients of two given NumPy arrays in Python # import libraryimport numpy as np  # create numpy 1d-arrayarray1 = np.array([0, 1, 2])array2 = np.array([3, 4, 5])  # pearson product-moment correlation# coefficients of the arraysrslt = np.corrcoef(array1, array2)  print(rslt)