2-D Arrays
Now, we've delved into the most intriguing aspect: What is a two-dimensional array?
In general, two-dimensional arrays are called matrices—mathematical structures consisting of rows and columns. If it makes it easier to understand, you can visualize a matrix as a table.
Now, it's time to practice with 2D arrays. Let's explore how to create a 2-D array containing two arrays: 5.2, 3.0, 4.5
and 9.1, 0.1, 0.3
:
![Example](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/671389bc-34ed-4de7-83cd-2d1bfcf00a76/pic_8.png)
Select all options with the INCORRECT code for creating 2-D arrays.
Selecciona unas respuestas correctas
¿Todo estuvo claro?
Contenido del Curso
NumPy in a Nutshell
1. Getting Started with NumPy
4. Important Functions
NumPy in a Nutshell
2-D Arrays
Now, we've delved into the most intriguing aspect: What is a two-dimensional array?
In general, two-dimensional arrays are called matrices—mathematical structures consisting of rows and columns. If it makes it easier to understand, you can visualize a matrix as a table.
Now, it's time to practice with 2D arrays. Let's explore how to create a 2-D array containing two arrays: 5.2, 3.0, 4.5
and 9.1, 0.1, 0.3
:
![Example](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/671389bc-34ed-4de7-83cd-2d1bfcf00a76/pic_8.png)
Select all options with the INCORRECT code for creating 2-D arrays.
Selecciona unas respuestas correctas
¿Todo estuvo claro?