Created
May 2, 2016 16:01
-
-
Save fonnesbeck/1115dab57fbe48234ee18940c086134a to your computer and use it in GitHub Desktop.
Extract using mask in 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
np.in1d(y, [1, 2])] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment