Learn practical skills, build real-world projects, and advance your career
import numpy as np
arr1 = np.random.randn(5,5)

np.random.randn(5,5) generates the value using "standard normal distribution" (https://sphweb.bumc.bu.edu/otlt/MPH-Modules/BS/BS704_Probability/BS704_Probability9.html#:~:text=The%20standard%20normal%20distribution%20is,given%20by%20the%20standard%20deviation.)

This mean that you will have positive and negative float numbers. These value can be greater or smaller than 1 and -1. You can use this command help (np.random.randn) for more information about it.

arr1
array([[-0.90018133,  0.86705631,  0.07622683,  1.91150203, -1.26941837],
       [ 0.51025271, -1.4935205 , -0.96947175,  1.34397598, -0.53945853],
       [-0.92593735,  0.22767993, -0.17660907, -1.00653701,  0.99812211],
       [-0.12731031, -1.22861439, -0.76471652, -0.90336345, -0.66523169],
       [-0.24326546, -2.13247225, -0.26856596,  0.04789598,  0.22483352]])
arr2 = np.random.random((5,5))