574 B
574 B
id, title, challengeType, videoId, bilibiliIds, dashedName
id | title | challengeType | videoId | bilibiliIds | dashedName | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
5e9a0a8e09c5df3cc3600ed9 | 配列の再編成 | 11 | VNWAQbEM-C8 |
|
reorganizing-arrays |
--question--
--text--
次の配列を生成するコードはどれですか?
[[1. 1.]
[1. 1.]
[1. 1.]
[1. 1.]]
--answers--
a = np.ones((2, 4))
b = a.reshape((4, 2))
print(b)
a = np.ones((2, 4))
b = a.reshape((2, 4))
print(b)
a = np.ones((2, 4))
b = a.reshape((8, 1))
print(b)
--video-solution--
1