0676デフォルトの名無しさん垢版 | 大砲2018/02/06(火) 13:20:28.81ID:oUdjyrC/ こうじゃね a = np.array([1, 2, 3, 4, 5]) b = np.array([1, 2, 3, 5, 4]) np.sum(a == b) / a.size