Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How to perform element-wise addition of two NumPy arrays?
Answer: import numpy as npnarr1 = np.array([1, 2, 3])narr2 = np.array([4, 5, 6])nresult = arr1 + arr2
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook