Learn practical skills, build real-world projects, and advance your career
import numpy as np
climate = np.array([[3, 5, 6],
                    [1, 5, 3],
                    [2, 1, 25],
                    [7, 3, 9]])
climate
array([[ 3,  5,  6],
       [ 1,  5,  3],
       [ 2,  1, 25],
       [ 7,  3,  9]])
climate.shape
(4, 3)
weights = np.array([2, 3, 4])