#PYTHON PROGRAM TO IMPLEMENT ELEMENT WISE OPERATIONS IN NUMPY ARRAY
we perfrom add,subtraction,multiplication,division
import numpy as np
my_array_1 = np.array([10,20,30])
my_array_2 = np.array([5,5,5])
add = my_array_1 + my_array_2
subtract = my_array_1 - my_array_2
multiplication = my_array_1 * my_array_2
division = my_array_1 / my_array_2
print(add)
print(subtract)
print(multiplication)
print(division)
OUTPUT:
[15 25 35]
[ 5 15 25]
[ 50 100 150]
[2. 4. 6.]
En esta página del sitio puede ver el video en línea PYTHON PROGRAM TO IMPLEMENT ELEMENT WISE OPERATIONS IN NUMPY ARRAY. de Duración hora minuto segunda en buena calidad , que subió el usuario PythonEnthusiasts 01 enero 1970, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 42 veces y le gustó 1 a los espectadores. Disfruta viendo!