python: array : true ,false 取反
作者:
夏天不热也不冷 | 来源:发表于
2019-11-12 21:49 被阅读0次a=np.array([[True,False],[True,False]])
c=(1-a).astype(np.bool)
c
https://blog.csdn.net/dcbandtss/article/details/83060607
本文标题:python: array : true ,false 取反
本文链接:https://www.haomeiwen.com/subject/lzhcictx.html
网友评论