回答編集履歴

1

d

2019/03/15 04:34

投稿

tiitoi
tiitoi

スコア21956

test CHANGED
@@ -3,6 +3,20 @@
3
3
 
4
4
 
5
5
  ```python
6
+
7
+ import numpy as np
8
+
9
+
10
+
11
+ arr = np.array([['Y', 0, 0, 0, 'C'],
12
+
13
+ [0, 0, 1, 1, 0],
14
+
15
+ [0, 0, 1, 1, 0],
16
+
17
+ ['M', 0, 0, 0, 'S']])
18
+
19
+
6
20
 
7
21
  rows, cols = np.where(arr=='C')
8
22