filmov
tv
Python Numpy Tutorial - 15 ... Array Indexing
Показать описание
-----------------------------------------
- Indexing is used to obtain particular element(s) or row(s) or column(s) from the numpy array(s).
- Here, we pass the Index of the element to access it.
- The Index starts from 0, not from 1.
- It returns elements till "stop index - 1" index.
Indexing in 1-D Array :
Format : array[start index : stop index]
Indexing in 2-D Array :
Format : array[row_indexing, column_indexing]
Indexing in 3-D Array :
Format : array[matrix_indexing, row_indexing, column_indexing]
------------------------------------------
-------------------------------------------
------------------------------------------
🇮🇳 DATA SCIENCE LOVERS 🧡💛💚
-------------------------------------------
You must check our projects videos :
--------------------------------------------
#python #numpy #numpytutorial