2021-06-15 00:49:18 -07:00
---
id: 5e9a093a74c4063ca6f7c154
2021-07-19 16:05:37 +05:30
title: Array di Numpy
2021-06-15 00:49:18 -07:00
challengeType: 11
videoId: VDYVFHBL1AM
2021-10-03 12:24:27 -07:00
bilibiliIds:
aid: 890607366
bvid: BV1zP4y1h7FR
cid: 409011400
2021-06-15 00:49:18 -07:00
dashedName: numpy-arrays
---
# --description--
2021-07-19 16:05:37 +05:30
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
2021-06-15 00:49:18 -07:00
2021-07-19 16:05:37 +05:30
Altre risorse:
2021-06-15 00:49:18 -07:00
2021-07-19 16:05:37 +05:30
- [Notebook su GitHub ](https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-numpy )
- [Come aprire Notebooks da GitHub usando Google Colab. ](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb )
2021-06-15 00:49:18 -07:00
# --question--
## --text--
2021-07-19 16:05:37 +05:30
Cosa verrà visualizzato nella console con il seguente codice?
2021-06-15 00:49:18 -07:00
```py
A = np.array([
['a', 'b', 'c'],
['d', 'e', 'f'],
['g', 'h', 'i']
])
print(A[:, :2])
```
## --answers--
```py
[['a' 'b']]
```
---
```py
[['b' 'c']
['e' 'f']
['h' 'i']]
```
---
```py
[['a' 'b']
['d' 'e']
['g' 'h']]
```
## --video-solution--
3