how to square each term of numpy array python code example Example: how to square each term of numpy array python np.square(arr1)