Python Numpy Tutorial - 3 ... Ones Array || np.ones( )

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


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

!! Numpy Ones Array !!

Ones Array - An array in which all values are 1.

- We can define the shape and data-type of ones array.
- We can create 1-D, 2-D, as well 3-D ones array.
- The default data-type 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
Рекомендации по теме