freeCodeCamp/curriculum/challenges/japanese/08-data-analysis-with-python/data-analysis-with-python-c.../numpy-arrays.md

1000 B

id title challengeType videoId bilibiliIds dashedName
5e9a093a74c4063ca6f7c154 Numpy の配列 11 VDYVFHBL1AM
aid bvid cid
890607366 BV1zP4y1h7FR 409011400
numpy-arrays

--description--

動画で説明しているように、notebooks.ai を使用する代わりに Google Colab を使用することができます。

その他のリソース:

--question--

--text--

次のコードは何を表示しますか?

A = np.array([
    ['a', 'b', 'c'],
    ['d', 'e', 'f'],
    ['g', 'h', 'i']
])

print(A[:, :2])

--answers--

[['a' 'b']]

[['b' 'c']
['e' 'f']
['h' 'i']]

[['a' 'b']
['d' 'e']
['g' 'h']]

--video-solution--

3