Python Numpy Tutorial - 8 ... Eye Array Function || np.eye( )

Publié le: 10 décembre 2022
sur la chaîne: Data Science Lovers
600
15

Full Numpy Playlist -    • Numpy For Data Science  

Get - Python Numpy Commands Notes (Rs.25) - https://rzp.io/l/numpynotes

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

!! Eye Array Function !!

The Eye Function returns a 2-D array , with 1 on diagonal and 0 eleswhere.

Syntax : np.eye(shape, k, dtype)

Here, if only No. of Rows is passed, then No. of Columns = No. of Rows.
K is Index of diagonal, by default, k=0 means Main diagonal ; when k=positive means Upper diagonal ; when k=negative means Lower diagonal.
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

------------------------------------------
Buy 'Data Analyst - Self Study Material' ( Rs.450 ) - https://rzp.io/l/dslstudymaterial
------------------------------------------------
Python Pandas Notes ( Rs.99 ) - https://rzp.io/l/pandas-notes
-------------------------------------------
Contact Mail Id : datasciencelovers@gmail.com
------------------------------------------
🇮🇳 DATA SCIENCE LOVERS 🧡💛💚

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

You must check our projects videos :

Project 8 -    • Project - 8 | Data Analysis with Python | ...  
Project 7 -    • Project - 7 | Data Analysis with Python | ...  
Project 6 -    • Project - 6 | Data Analysis with Python | ...  
Project 5 -    • Project - 5 | Data Analysis with Python | ...  
Project 4 -    • Project - 4 | Data Analysis with Python | ...  
Project 3 -    • Project - 3 | Data Analysis with Python | ...  
Project 2 -    • Project - 2 | Data Analysis with Python | ...  
Project 1 -    • Project - 1 | Data Analysis with Python | ...  

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

Numpy Playlist -    • Numpy For Data Science  


#python #dataanalytics #numpy


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Numpy Tutorial - 8 ... Eye Array Function || np.eye( ) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Data Science Lovers 10 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 600 fois et il a aimé 15 téléspectateurs. Bon visionnage!