WEBVTT

00:00.480 --> 00:08.370
Well a ball slicing with a particular increment in the column number or in the particular number and

00:08.370 --> 00:10.950
the step size you can also do something like this.

00:10.980 --> 00:11.330
OK.

00:11.430 --> 00:18.250
So let's say for example I want to slice from two or let's go for a single area itself.

00:18.360 --> 00:20.580
Let's understand single-A first.

00:20.580 --> 00:26.090
So if this is your Y and of course y of treacle and five will be three and four.

00:26.100 --> 00:28.750
The current fourth element that means you are one to three.

00:28.820 --> 00:29.830
There's a three.

00:29.910 --> 00:38.190
And the fourth element right now if I said three colon it would start from three and go up to the last

00:38.190 --> 00:38.900
element.

00:38.940 --> 00:41.430
Start from three three.

00:41.460 --> 00:42.540
The third element.

00:42.710 --> 00:44.090
Well yeah.

00:44.250 --> 00:48.360
And if you see a three colon so we just saw that it gives you this pretty global.

00:48.390 --> 00:58.110
But if I say if I put one more in and I say two then have a look what is y basically Y is you know why

00:58.110 --> 00:59.000
is this entire thing.

00:59.010 --> 01:03.310
And then we have slice from the third element till the last.

01:03.870 --> 01:09.870
But now I'm going to say I want a slice from the tournament to the last element but I want to do it

01:09.870 --> 01:16.540
in steps of two which means I don't want I you know after taking this element I want you to add the

01:16.540 --> 01:17.360
next by to.

01:17.360 --> 01:21.230
What is the next of this element 3 plus 2 5 index.

01:21.270 --> 01:23.670
What is a value at 5 2.

01:23.880 --> 01:27.730
What does evaluates 7 to add 2 0.

01:27.740 --> 01:28.940
It's 2 2 2 2.

01:28.950 --> 01:34.500
And then finally 7 so you're going to have something like that so you're going to have insteps of two.

01:34.500 --> 01:42.180
So let's see it's going to be 4 2 2 2 4 2 2 2.

01:42.240 --> 01:44.090
And the last one that is.

01:44.250 --> 01:47.480
So 3 to the end instead of two.

01:47.610 --> 01:52.200
If I do three to the end insteps of three it will be four.

01:52.230 --> 01:57.330
And then add up at the index What does the next year or three add up 3 to 8 4 5 6.

01:57.330 --> 01:59.560
So what is the index at 6.

01:59.660 --> 02:01.500
This is four five and six.

02:01.500 --> 02:03.570
What does the element 1.

02:03.590 --> 02:04.690
So here's one.

02:04.850 --> 02:07.550
And then you add up three on second on two three.

02:07.550 --> 02:09.110
And then there goes to.

02:09.230 --> 02:11.740
And then if you add 3 0 it's goes out of scope.

02:11.750 --> 02:16.450
So no it's not there anymore is not so good for one two for you.

02:16.450 --> 02:23.830
That's lising when you come to 0 1 DeAndre and you want to slice with a particular step size.

02:23.830 --> 02:25.520
Now let's is.

02:25.640 --> 02:28.300
Pretty killer.

02:28.660 --> 02:36.340
You know we have a step size but now we want to slice it let's say with particular step size.

02:36.340 --> 02:40.470
But I want to do it for a bigger area that is for a 2D area.

02:40.540 --> 02:41.830
So how do we do that.

02:41.830 --> 02:42.310
Right.

02:42.340 --> 02:45.580
I can do that by saying X off.

02:45.700 --> 02:47.860
OK so I'm going to say are we here.

02:49.580 --> 02:51.790
So he does X.

02:52.120 --> 02:58.830
So I said coaling call and let me do insteps of two for the rules.

02:59.350 --> 03:02.220
So I'll start from zero through all go to the last straw.

03:02.230 --> 03:08.680
But in steps of two can you see that 67 12:58 are the first choice taken but after that there all that

03:08.680 --> 03:12.370
is taken is not the next row but the row after that.

03:12.370 --> 03:13.110
Is that correct.

03:13.270 --> 03:23.160
Now if I want to take alternate alternate columns there goes sixty seven then 15 then 77.

03:23.260 --> 03:26.460
If I do it in steps 3 for the columns I would do.

03:26.710 --> 03:31.770
You know I would get something like this 6 7 0 1 2 3 and that goes up.

03:31.870 --> 03:32.460
That's it.

03:32.460 --> 03:34.230
So sixty seven and 12.

03:34.240 --> 03:38.320
And then of course this 45 and the safety read.

03:38.500 --> 03:40.120
So yeah.

03:40.510 --> 03:48.550
So that's about that's about how you can that's about slicing and slicing with step size.

03:48.580 --> 03:55.210
So I hope you understand this in quite detail and this is quite important for our understanding when

03:55.220 --> 03:58.400
whenever you have to do stuff like this.

03:58.690 --> 03:59.340
OK.

03:59.650 --> 04:07.820
Now as we go ahead with pi of course these are the major things that how to access a particular umpire

04:07.870 --> 04:08.850
and stuff like that.

04:09.100 --> 04:14.740
But now we need to figure out how to do arithmetic operations how to do different operations on the

04:14.750 --> 04:22.810
numpad a how to deal with you know deal with certain data which needs to be captured on which needs

04:22.810 --> 04:25.290
to be you know put up on.

04:25.600 --> 04:30.450
You know you want to store some data you want to get some data from the entire area.

04:30.460 --> 04:35.060
You want to do that then we can figure out ways and means to do it.

04:35.190 --> 04:35.590
OK.
