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

936 B

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

--description--

Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.

Altre risorse:

--question--

--text--

Cosa verrà visualizzato nella console con il seguente codice?

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