回答編集履歴
1
d
answer
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
[4, 5, 6],
|
10
10
|
[7, 8, 9]])
|
11
11
|
|
12
|
-
b = np.apply_along_axis(lambda x: ''.join(x),
|
12
|
+
b = np.apply_along_axis(lambda x: ''.join(x), 1, a.astype(str)).astype(int)
|
13
13
|
print(b)
|
14
|
-
# array([
|
14
|
+
# array([123, 456, 789])
|
15
15
|
```
|