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

Veröffentlicht am: 10 Dezember 2022
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Python Numpy Tutorial - 8 ... Eye Array Function || np.eye( ) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Data Science Lovers 10 Dezember 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 600 Mal angesehen und es wurde von 15 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!