#numpy 多条件查找
np.where((log[:,1]==3) | (log[:,1]==4))
#或者
np.logical_or(log[:,1]==3 , log[:,1]==4)
Created
January 24, 2019 02:27
-
-
Save Roger8/da596d93e08eb33977a039a71eda6262 to your computer and use it in GitHub Desktop.
numpy 多条件查找
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment