Skip to content

Instantly share code, notes, and snippets.

@rpalo
Last active August 21, 2019 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpalo/62cfda10a6b343f42adb5d12b56a0faa to your computer and use it in GitHub Desktop.
Save rpalo/62cfda10a6b343f42adb5d12b56a0faa to your computer and use it in GitHub Desktop.
import numpy as np
a = np.array([1, 2, 3, 4, 5])
b = np.array([1, 1, 1, 5, 1])
a + b
# => [2, 3, 4, 9, 6]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment