Files
2021-02-07 14:08:31 +05:30

859 B

id, title, challengeType, videoId, dashedName
id title challengeType videoId dashedName
5e9a093a74c4063ca6f7c154 Numpy Arrays 11 VDYVFHBL1AM numpy-arrays

--description--

Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.

More resources:

--question--

--text--

What will the following code print out?

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