Last active
August 27, 2022 16:16
-
-
Save axil/8cc25cb15a81970d5070121924185459 to your computer and use it in GitHub Desktop.
load_numpy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%javascript | |
async function prepare() { | |
await window.pyodide.loadPackage("numpy"); | |
alert(window.pyodide.runPython(` | |
import numpy as np | |
np.array([3, 4]).sum() | |
`)); | |
} | |
prepare(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment