摘要: a = np.array([1, 3, 5, 6, 9, 10, 14, 15, 56]) np.where(np.logical_and(a>=6, a<=10)) --> (array([3, 4, 5]),) (a >= 6) & (a <=10) --> array([False, Fals 阅读全文
posted @ 2023-04-11 13:01 xiaoxuxli 阅读(9) 评论(0) 推荐(0) 编辑