Hello, everyone, and welcome to Distort.
In previous tutorial, V.L. understood indexing, selection, basics and broadcasting the values.
In this tutorial, we will understand indexing into the array.
Let us begin.
First, we have to import the library import numpty as ENPI.
Then V, how to create A to B, Eddie.
MP dog Eddie.
Five, 10, 15.
20, 25, 30.
35, 40, 45, you execute.
Take this to be Eddie.
Great.
Three rows and three columns.
Now supposed to be how to select this element for you to do that type name of the array.
First, we have to specify Duroux zero.
After that, we have to specify the column.
Column index zero.
Execute.
So this is the output for you.
Let us see one more example.
Now, suppose we able to select this element.
Twenty eight.
The array.
First, we have to specify the index of RU zero one.
Then we have to specify the column index zero.
20.
Here we can grab multiple elements also or we can set that submental says to do that type name of the
Eddie Eddie to be.
Now suppose we how to select these four elements.
Ten, fifteen, twenty, five thirty.
First, we have to specify indexed location of rules zero and one zero two to the upper bound we exclude.
So here we are selecting index zero and one for the columns index one and two one.
Column three.
Three is upper bound.
And it will exclude.
Execute.
So this is a very quiet output.
Ten, fifteen, twenty, five thirty.
So this is all about the indexing into the eddy.
Let us understand conditionals election.
First, create an ad, A, A, R, R and B, dot a range.
Zero to eleven.
Take this every number from zero to 10.
Now, type at a greater then for you.
So this is the output.
This output is in the form of billions.
At first, five positions can be shown is false.
This condition.
And after that, this condition is true.
No store this bullion output in a variable variable be.
Take this variable.
Same output.
Now type the error name and specify this variable be.
So this is the output it will it and the output.
We are condition is true.
We have specified this condition at a is greater than for you.
So this is output.
All the elements which are greater than for you.
Instead of this variable, we can specify this condition directly.
Copy this condition at A is greater than value.
Execute.
Same output.
Let us take with other condition.
ETA is less than eight grade, all the elements are less than eight.
So this is all about the conditional selection.
So this little deal about indexing to the ETA and conditional selection NCA.
I will see you in the next one till then.
Happy learning.