-
-
Save stephengruppetta/9ad7e381b2cf5b455917b2999c50487e to your computer and use it in GitHub Desktop.
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
some_numbers_np = np.array([1, 2, 3, 5, 8, 13]) | |
some_numbers_np[[True, False, False, True, False, True]] | |
# array([ 1, 5, 13]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment