Python Numpy Tutorial - 9 ... Identity Array Function || np.identity( )

preview_player
Показать описание


-----------------------------------------

!! Identity Array Function !!

It returns an identity array i.e., a square array with 1 on the main diagonal and all other elements are 0.

- It takes a single integer value only as shape.
- The No. of Rows and No. of Columns will be equal to the given integer value.
- The default datatype is float

* ndim - to check the dimension of the array
* shape - to check the shape of the array
* size - to check the size of the array

------------------------------------------
------------------------------------------------
-------------------------------------------
------------------------------------------
🇮🇳 DATA SCIENCE LOVERS 🧡💛💚

-------------------------------------------

You must check our projects videos :

--------------------------------------------

#python #dataanalytics #numpy
Рекомендации по теме
join shbcf.ru