921 B
921 B
id, title, challengeType, videoId, bilibiliIds, dashedName
id | title | challengeType | videoId | bilibiliIds | dashedName | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
5e9a093a74c4063ca6f7c154 | Arreglos de NumPy | 11 | VDYVFHBL1AM |
|
numpy-arrays |
--description--
En vez de usar notebooks.ai como aparece en el video, puedes usar Google Colab.
Más recursos:
--question--
--text--
¿Qué imprimirá el siguiente código?
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