回答編集履歴

1

d

2019/05/23 07:51

投稿

tiitoi
tiitoi

スコア21956

test CHANGED
@@ -20,10 +20,10 @@
20
20
 
21
21
 
22
22
 
23
- b = np.apply_along_axis(lambda x: ''.join(x), 0, a.astype(str)).astype(int)
23
+ b = np.apply_along_axis(lambda x: ''.join(x), 1, a.astype(str)).astype(int)
24
24
 
25
25
  print(b)
26
26
 
27
- # array([147, 258, 369])
27
+ # array([123, 456, 789])
28
28
 
29
29
  ```