Last active
February 18, 2019 02:00
-
-
Save yatakeke/b1f285bd9b3a64b4f7c9aab83c8e14f2 to your computer and use it in GitHub Desktop.
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
a = list(range(10)) | |
print("before : ", a) | |
b = np.random.permutation(a) | |
print("after : ", b) | |
====>>>> | |
before : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
after : [9 7 4 0 8 3 2 6 5 1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment