961 B
961 B
id | title | challengeType | videoId | bilibiliIds | dashedName | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
5e9a093a74c4063ca6f7c154 | Conhecer os arrays do NumPy | 11 | VDYVFHBL1AM |
|
numpy-arrays |
--description--
Ao invés de usar notebooks.ai como foi mostrado no vídeo, você pode usar o Google Colab como substituto.
Mais recursos:
--question--
--text--
O que será impresso pelo código a seguir?
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