PYTHON NUMPY Lesson 2 – Creating Array - Dimension - Indexing

Publicado el: 24 junio 2021
en el canal de: Elaf A. Saeed
17
0

PYTHON NUMPY Lesson 2 – Creating Array - Dimension - Indexing

NumPy Creating Arrays:
-- Create a NumPy ndarray Object:
NumPy is used to work with arrays. The array object in NumPy is called ndarray.
We can create a NumPy ndarray object by using the array() function.
To create an ndarray, we can pass a list, tuple or any array-like object into the array() method, and it will be converted into an ndarray:
-----------------------
Dimensions in Arrays:
-- 0-D Arrays:
0-D arrays, or Scalars, are the elements in an array. Each value in an array is a 0-D array
-- 1-D Arrays:
An array that has 0-D arrays as its elements is called uni-dimensional or 1-D array.
These are the most common and basic arrays.
-- 2-D Arrays:
An array that has 1-D arrays as its elements is called a 2-D array.
These are often used to represent matrix or 2nd order tensors.
-- 3-D arrays:
An array that has 2-D arrays (matrices) as its elements is called 3-D array.
These are often used to represent a 3rd order tensor.
-- Check Number of Dimensions?
NumPy Arrays provides the ndim attribute that returns an integer that tells us how many dimensions the array have.
-- Higher Dimensional Arrays:
An array can have any number of dimensions.
When the array is created, you can define the number of dimensions by using the ndmin argument
-------------------------------
NumPy Array Indexing:
-- Access Array Elements:
Array indexing is the same as accessing an array element.
You can access an array element by referring to its index number.
The indexes in NumPy arrays start with 0, meaning that the first element has index 0, and the second has index 1 etc.
-----------------------------------------------------------------------------------------------------------------------
Book Link:
Ps Programming Languages
https://www.morebooks.de/store/gb/boo...
-----------------------------------------------------------------------------------------------------------------------
another Courses:
كورس اساسيات الانظمة المدمجة:    • مقدمة عن كورس اساسيات النظمة المدمجة  

شرح كتاب Basics Labs for Embedded Systems Using Arduino
   • شرح عن كتاب Basics labs for embedded syste...  

Raspberry pi Basic Projects-رازبيري باي
   • Raspberry pi3 led - رازبيري باي لتشغيل ضوء  

NodeMCU Course (in Arabic)- NodeMCU كورس تعلم شريحة
   • Introdution to NodeMCU Course  

Microsoft Publisher - الناشر المكتبي
   • Microsoft Publisher - الناشر المكتبي  

Microsoft Front Page - Lessons مايكروسوفت فرونت بيج
   • Microsoft Front Page - Lessons مايكروسوفت ...  

Computer Vision with Python-OpenCV الرؤيا الحاسوبية مع بايثون OpenCV
   • Computer Vision with Python Introduction  

Measurement LABVIEW LABs
   • Measurements LABVIEW LABs  

Control LABs with MATLAB
   • Control LABs with MATLAB  

Microcontroller LAB - Arduino Lessons
   • Microcontroller LAB - Arduino Lessons  

Adobe InDesign Course - in Arabic كورس اندزاين بالعربي
   • Adobe InDesign Course - in Arabic كورس اند...  
---------------------------------------------------------------------------------------------------------
Email: elafe1888@gmail.com
linkden: www.linkedin.com/in/elaf-a-saeed-97bbb6150
twitter:   / elafasaeed1  
github: https://github.com/ElafAhmedSaeed
youtube:    / @elafasaeed  
slideshare: https://www.slideshare.net/ElafASaeed
Slideplayer: https://slideplayer.com/search/?q=Ela...
Google Scholar: https://scholar.google.com/citations?...


En esta página del sitio puede ver el video en línea PYTHON NUMPY Lesson 2 – Creating Array - Dimension - Indexing de Duración hora minuto segunda en buena calidad , que subió el usuario Elaf A. Saeed 24 junio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 17 veces y le gustó 0 a los espectadores. Disfruta viendo!