WEBVTT

00:02.030 --> 00:04.420
Hello, everyone, and welcome to Distort.

00:05.180 --> 00:11.700
In previous tutorial, V.L. understood indexing, selection, basics and broadcasting the values.

00:12.170 --> 00:16.380
In this tutorial, we will understand indexing into the array.

00:17.930 --> 00:18.860
Let us begin.

00:19.520 --> 00:25.560
First, we have to import the library import numpty as ENPI.

00:28.090 --> 00:30.580
Then V, how to create A to B, Eddie.

00:33.660 --> 00:35.130
MP dog Eddie.

00:40.030 --> 00:41.650
Five, 10, 15.

00:45.350 --> 00:47.210
20, 25, 30.

00:50.640 --> 00:55.040
35, 40, 45, you execute.

00:57.820 --> 00:59.230
Take this to be Eddie.

01:01.120 --> 01:01.530
Great.

01:02.490 --> 01:04.470
Three rows and three columns.

01:06.810 --> 01:13.980
Now supposed to be how to select this element for you to do that type name of the array.

01:15.430 --> 01:18.610
First, we have to specify Duroux zero.

01:20.200 --> 01:22.780
After that, we have to specify the column.

01:23.350 --> 01:25.330
Column index zero.

01:26.330 --> 01:27.070
Execute.

01:29.120 --> 01:31.430
So this is the output for you.

01:32.250 --> 01:34.130
Let us see one more example.

01:35.360 --> 01:37.820
Now, suppose we able to select this element.

01:38.160 --> 01:40.610
Twenty eight.

01:40.990 --> 01:41.740
The array.

01:42.410 --> 01:46.980
First, we have to specify the index of RU zero one.

01:48.800 --> 01:52.550
Then we have to specify the column index zero.

01:55.590 --> 01:56.380
20.

01:58.480 --> 02:07.450
Here we can grab multiple elements also or we can set that submental says to do that type name of the

02:07.450 --> 02:09.640
Eddie Eddie to be.

02:11.060 --> 02:14.140
Now suppose we how to select these four elements.

02:14.580 --> 02:17.070
Ten, fifteen, twenty, five thirty.

02:17.450 --> 02:28.780
First, we have to specify indexed location of rules zero and one zero two to the upper bound we exclude.

02:29.140 --> 02:37.330
So here we are selecting index zero and one for the columns index one and two one.

02:37.330 --> 02:38.140
Column three.

02:38.500 --> 02:40.060
Three is upper bound.

02:40.150 --> 02:41.530
And it will exclude.

02:42.370 --> 02:43.120
Execute.

02:44.680 --> 02:46.750
So this is a very quiet output.

02:46.930 --> 02:49.590
Ten, fifteen, twenty, five thirty.

02:55.570 --> 02:58.790
So this is all about the indexing into the eddy.

02:59.560 --> 03:01.880
Let us understand conditionals election.

03:18.460 --> 03:24.780
First, create an ad, A, A, R, R and B, dot a range.

03:29.240 --> 03:30.660
Zero to eleven.

03:34.070 --> 03:38.520
Take this every number from zero to 10.

03:39.740 --> 03:43.100
Now, type at a greater then for you.

03:45.140 --> 03:46.580
So this is the output.

03:47.090 --> 03:49.810
This output is in the form of billions.

03:50.480 --> 03:53.430
At first, five positions can be shown is false.

03:53.750 --> 03:54.650
This condition.

03:54.800 --> 03:57.610
And after that, this condition is true.

03:58.340 --> 04:04.580
No store this bullion output in a variable variable be.

04:07.420 --> 04:08.710
Take this variable.

04:10.960 --> 04:11.950
Same output.

04:13.960 --> 04:19.570
Now type the error name and specify this variable be.

04:22.080 --> 04:25.530
So this is the output it will it and the output.

04:26.000 --> 04:27.720
We are condition is true.

04:28.350 --> 04:32.190
We have specified this condition at a is greater than for you.

04:32.310 --> 04:33.510
So this is output.

04:33.840 --> 04:36.220
All the elements which are greater than for you.

04:37.950 --> 04:42.080
Instead of this variable, we can specify this condition directly.

04:44.230 --> 04:47.980
Copy this condition at A is greater than value.

04:48.900 --> 04:49.610
Execute.

04:50.850 --> 04:51.930
Same output.

04:52.580 --> 04:54.630
Let us take with other condition.

04:57.190 --> 05:03.190
ETA is less than eight grade, all the elements are less than eight.

05:04.150 --> 05:06.850
So this is all about the conditional selection.

05:08.290 --> 05:13.470
So this little deal about indexing to the ETA and conditional selection NCA.

05:14.350 --> 05:17.320
I will see you in the next one till then.

05:17.470 --> 05:18.570
Happy learning.
