Created
September 1, 2018 17:03
-
-
Save qqpann/ddeb6968fe3ebba3e5ae9b083edbe1bd to your computer and use it in GitHub Desktop.
[Numpy vectorize] Vectorize a function to use for array. #numpy #python
This file contains hidden or 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
x = np.arange(3000) | |
vet = np.vectorize(elo2tier) | |
y = vet(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment