Learn practical skills, build real-world projects, and advance your career

import numpy as np

Elementwise Operations

1. Basic Operations

with scalars

a = np.array([1, 2, 3, 4]) #create an array

a + 1
array([2, 3, 4, 5])