WEBVTT

00:01.050 --> 00:07.950
Hello from Molly would begin with the next module, which is data handling with Python in this module,

00:08.040 --> 00:14.250
we will discuss data handling with Python and the discussion will be immediately around two packages,

00:14.250 --> 00:15.900
which is number by and Fondas.

00:16.440 --> 00:22.050
After learning about numbers Fondas, we would move towards data visualization.

00:22.380 --> 00:26.370
But the main concept here is not by and Fondas.

00:26.740 --> 00:33.300
Mambi is the original package in Python, which was designed to work with multi-dimensional eddies.

00:33.600 --> 00:37.830
So this eventually enables us to work with the data files.

00:38.220 --> 00:45.180
But Fondas is a high level package which is written on top of mumfie, which makes the syntax much more

00:45.180 --> 00:52.140
easier so we can focus on the logic of data handling process rather than getting behind how the syntax

00:52.140 --> 00:53.190
is written in numbers.

00:53.670 --> 01:00.960
So it is good to learn number, but while working with data handling, we would be majorly using Fondas

01:00.960 --> 01:01.490
library.

01:01.710 --> 01:08.760
So it is good to know no by initially so that you know what is going behind and how data looks behind.

01:10.420 --> 01:19.060
So we will begin with no initially, so let's go ahead with it, let's begin with number.

01:20.580 --> 01:28.930
So far, no, this is the documentation which is available it is available right now by dot org.

01:29.430 --> 01:34.670
So it has all the details about the pilot.

01:36.420 --> 01:45.210
It has the basics, how it is are created, how indexing and slicing is done, and how we can handle

01:45.210 --> 01:53.040
different multidimensional eddies and how we can change them, reshape them, how we can create them.

01:53.250 --> 01:59.130
All of the information has been provided here, but we will not be going very in-depth in this.

01:59.130 --> 02:06.990
We will be directly digging in into the main concept and the main functions which are provided by the

02:07.440 --> 02:08.010
library.

02:09.640 --> 02:15.500
So to begin with, the number three stands for numerical fighting.

02:15.880 --> 02:20.670
So it is a liability which is consisting of multi-dimensional aerial objects.

02:20.980 --> 02:29.260
So we will be working with multidimensional areas here and we will be using Mumfie and the mathematical

02:29.260 --> 02:32.590
and logical operations on it is so we would be learning.

02:34.210 --> 02:41.670
So to begin with, the first thing which we will be doing is we will be importing the number like.

02:43.450 --> 02:49.000
So while we begin by labeling both, so the first thing is to write in both.

02:54.150 --> 03:05.280
So we will write import import is to get a particular library in our current working workspace, so

03:05.490 --> 03:07.660
the library name is No.

03:08.610 --> 03:11.210
And we want to provide an alias name.

03:11.400 --> 03:15.200
So usually what happens is that we do import numbers.

03:15.210 --> 03:21.390
And then each time I want to run a specific function, I will have to write something like Mumfie,

03:21.940 --> 03:24.330
not random.

03:25.390 --> 03:27.310
Don't random.

03:30.050 --> 03:31.710
And then I'll have to run this.

03:31.730 --> 03:37.880
So this will give me some random number, but every time I'm writing this entire number, I may not

03:37.880 --> 03:41.860
be much feasible and we want something we can short.

03:42.080 --> 03:47.990
So what we do is we create an alias name and we see nubby as a..

03:47.990 --> 03:49.920
Which is kind of a standard right now.

03:50.240 --> 03:54.550
So we will instead of number, we will write in an.

03:56.500 --> 04:03.730
Once we run the first line and this one, so it will generate the function, it will run the function

04:03.730 --> 04:05.410
using this particular areas.

04:05.770 --> 04:09.560
Now let us learn about different functions which are available with no.

04:09.820 --> 04:16.540
So the very first function which is available is to generate random numbers so we can generate random

04:16.540 --> 04:23.590
numbers using them by using ENPI, not random, random, random is the function name, which gives us

04:23.590 --> 04:25.110
the random numbers.

04:25.570 --> 04:30.730
So each time I run this particular piece of code, it will give me a new random number.

04:31.720 --> 04:32.800
Now let's see.

04:33.010 --> 04:39.520
I do want to generate random number, but I want to generate the random number again.

04:39.910 --> 04:48.520
So I have generated one random number and I've used it for some calculation and I want to just perform

04:48.520 --> 04:49.450
the entire thing.

04:49.450 --> 04:56.470
I want to do this thing again in front of my project team or anyone in the team.

04:56.680 --> 04:59.550
So what I can do, I want to fix this randomness.

04:59.680 --> 05:01.660
So what I can do is I can create a.

05:02.350 --> 05:05.830
So how do we create the scene we see in the random.

05:06.940 --> 05:07.570
Doc.

05:08.680 --> 05:09.310
Sede.

05:10.210 --> 05:14.600
And inside that, we can give any number, any number.

05:14.620 --> 05:22.570
It can be it can be 800 any number you can give any number in the seat and this seat will decide what

05:22.570 --> 05:23.740
number would be generated.

05:23.900 --> 05:32.340
And this statement has to be just before the random number generation.

05:32.350 --> 05:34.470
Otherwise the random generation would not work.

05:34.930 --> 05:39.010
So if I write it this way, it will generate this random number.

05:39.010 --> 05:44.260
And if I run this again and again every time we will run the same, give me the same number.

05:44.270 --> 05:48.060
So if I just change the number to thirty five, it will give another number.

05:48.070 --> 05:53.110
But this random number will be fixed on the basis of the number which I'm giving in the seat.

05:54.290 --> 05:57.080
In case I give any of those statements.

05:58.840 --> 06:01.040
Brand gap.

06:01.780 --> 06:14.260
So what happens is it still runs this, so each random number will be based on this scene, so it'll

06:14.260 --> 06:16.070
just do the same thing for you.

06:16.660 --> 06:21.190
OK, now if I generate on the random number after this.

06:25.700 --> 06:27.350
And let me bring up this one.

06:40.470 --> 06:46.680
So you can see you can fix the random numbers like this, the next thing which we have is.

06:49.610 --> 06:56.290
We can have different mathematical functions, so let us see, we have this random number generation

06:56.510 --> 06:58.060
now, it has more to work.

06:58.280 --> 07:05.420
So in case I want to generate a specific number of values, then I can give those here.

07:05.440 --> 07:10.480
So initially, when I did not give anything by default, the argument was one to one number was generated.

07:10.700 --> 07:11.840
I can give four.

07:12.440 --> 07:18.350
So four numbers would be generated if I give say forty one or let's say.

07:20.140 --> 07:28.390
Twelve, twelve numbers would be generated and one thing to note here is that all of these random numbers

07:28.390 --> 07:30.790
are ranging from zero to one.

07:32.170 --> 07:35.200
All these numbers are between zero and one.

07:36.860 --> 07:43.790
Now, next thing what we can do is if we want to upend these random numbers, let's say so let us do

07:43.790 --> 07:50.600
one thing, let me create a number X and put these numbers in front of it and.

07:52.370 --> 07:56.310
Let me explain you, I'm looking to create another.

07:58.890 --> 08:09.030
Everybody and this area I'm doing and be dolled up and so what up end does here is it will upend the

08:09.030 --> 08:13.650
new numbers generated in front of the X, so I'll give.

08:15.720 --> 08:24.960
X and I'll give what I want to append in front of this, so I want to open more numbers, see, I want

08:24.960 --> 08:28.350
to open just five new numbers.

08:31.240 --> 08:32.840
And I'll print Y for you.

08:33.280 --> 08:37.780
So here you can see the numbers from zero two.

08:38.140 --> 08:41.140
This one remained the same while after this.

08:41.320 --> 08:46.610
The five new numbers have been generated and upended in front of this.

08:46.870 --> 08:48.790
So this is what a bank does.

08:49.150 --> 08:53.970
It is a little different from the up end, which we were using in the final list.

08:54.280 --> 09:03.730
So when we used a pen in case of list, it used to add the new numbers generated or the whatever values

09:03.730 --> 09:04.030
we were.

09:04.030 --> 09:12.200
Depending on a single index back here, it would not happen that they will simply walk like extend how

09:12.230 --> 09:13.270
we used to work.

09:13.450 --> 09:17.940
It will just add new indexes and I've each value in the new indexes.

09:18.130 --> 09:22.510
So this append is a different from the list in the list up.

09:22.520 --> 09:25.450
And so just don't confuse between them.

09:27.060 --> 09:35.500
The next thing which we have is run numbers, and so we have learned how to generate one random number.

09:35.730 --> 09:42.990
We have learned how to generate random of a list of random numbers in any random numbers.

09:43.170 --> 09:46.580
So here we have generated random numbers here.

09:46.590 --> 09:49.240
We have upended the random numbers in front of these.

09:49.530 --> 09:53.190
Now, let us say we want to generate only a specific type of number.

09:53.340 --> 09:58.520
So let's say I want to generate, say, on the zeros.

09:58.530 --> 10:06.100
So what I can do is I can simply write and be Dawid zeros and it will generate the number of zeros which

10:06.100 --> 10:06.450
you want.

10:06.480 --> 10:10.710
So if you want 10 zeros, it will just generate zeros for you.

10:12.540 --> 10:14.230
So it generated 10 zeroes.

10:14.460 --> 10:22.540
Now, if you see these are floating point numbers, these zeros are floating point in nature.

10:22.740 --> 10:30.300
So if we want to change the type of this, what we can do is we can add another argument in front of

10:30.930 --> 10:34.350
that argument for the type.

10:36.690 --> 10:38.970
Is he could do anything, Dot.

10:40.240 --> 10:48.220
And so this way you will get the individual numbers, similarly, what we can do is we can have.

10:49.120 --> 10:52.520
Instead of Zardoz, let's see, we want to have one's.

10:58.010 --> 11:04.380
So we can generate plans like this, another thing, what we can do is this what we have generated is

11:04.380 --> 11:07.670
the one being it is only a one direction and 80.

11:07.850 --> 11:12.920
So in case you want to generate multidimensional eddies, we can simply give the same thing.

11:13.460 --> 11:17.890
And instead of giving this, we will give the size of the adding a couple of them.

11:18.170 --> 11:22.310
So this is my capital and this could be saved and come up five.

11:23.550 --> 11:30.780
So this will give me then cross 580 in case I want to have something is.

11:33.080 --> 11:34.910
See ones all.

11:37.400 --> 11:38.120
Sorry.

11:43.440 --> 11:54.390
See, do you think I'm a fool so I get to cross three rows for this and it would be generated?

11:55.970 --> 12:02.030
Now, another thing, what we can do is in case we want to generate something with the empty values

12:02.030 --> 12:04.320
or garbage values that is also available.

12:04.610 --> 12:08.950
So in that case, we can simply write empty.

12:09.800 --> 12:12.580
So it will just generate empty values.

12:13.190 --> 12:16.220
Apart from that, what we can do is.

12:17.520 --> 12:27.780
We can also generate some numbers in a sequential form, so what we can do is we can maybe get rid of

12:27.780 --> 12:34.110
this for now and we can generate numbers using a range.

12:36.460 --> 12:41.050
So any change is somewhat similar to range, which we used in.

12:42.280 --> 12:44.110
So what did Range give us?

12:44.110 --> 12:50.150
Range used to give us the number of values from zero to whatever number we're writing here.

12:50.170 --> 12:55.530
So in case I'm giving then so it will give something like this to me.

12:55.780 --> 13:01.050
And in case, let us say, let's change this a little bit, let's try a few variants of this.

13:01.600 --> 13:08.050
So if we want to get values from C instead of I don't want to begin from zero, I want to begin from

13:08.050 --> 13:10.840
five, then I can give five, comma 10.

13:11.260 --> 13:15.240
So in that case, I get values from five to ten minus one.

13:15.580 --> 13:18.040
The next thing what I can try is I can keep.

13:19.310 --> 13:29.150
See, I want you to have numbers from five to 50, and I want to skip five numbers and Beddawi so I

13:29.150 --> 13:30.150
can do it this way.

13:30.440 --> 13:34.160
Now, another thing which I have here is I can reshape this.

13:34.370 --> 13:42.140
What I am generating using it is a one deti so I can not only specify the other dimensions here of the

13:42.180 --> 13:42.790
any here.

13:42.920 --> 13:46.340
So what I can do is I can simply use a dot reshape.

13:48.160 --> 13:53.260
And this door to the sheep will be able to change the dimensions of it.

13:53.530 --> 13:56.350
Now, if you see we have three.

13:58.030 --> 14:04.450
Six, nine values, so that means I can have something like three comma three here.

14:05.520 --> 14:11.760
So I can create a TV commentary out of this, but in case you want to create something which is.

14:13.260 --> 14:20.100
Not exactly the number of values which we have, you know, to say we need to treat it gives in it.

14:21.360 --> 14:23.180
It is saving the Creative Commons.

14:23.730 --> 14:31.140
It will again give error because the number of ideas generated using this inch function does not suffice

14:31.380 --> 14:34.740
the volumes required for this particular issue.

14:34.980 --> 14:41.490
So this is one thing that you need to take care of by using the eatings function on other functions,

14:41.490 --> 14:43.080
which we have are.

14:44.490 --> 14:52.930
Oh, let's see, we have what else we can do out of this, so we have this we have with Ricci, we can

14:52.930 --> 14:55.120
also do one more thing.

14:55.420 --> 15:02.520
We can use a little space now trying to understand the difference between eating and living space here.

15:02.830 --> 15:04.640
So let me write it down for you.

15:04.840 --> 15:06.540
So when we have eating's.

15:09.530 --> 15:14.930
OK, and when we have mindspace.

15:17.070 --> 15:23.820
So in case of orange, we provide the starting point.

15:25.240 --> 15:27.340
The ending point.

15:28.290 --> 15:36.030
And we provide the steps, right, so because we provide these values.

15:38.880 --> 15:52.320
So it automatically finds out the number of values to be.

15:54.090 --> 16:03.000
Generated line in case of mindspace, what we do is we provide the starting point and we provide the

16:03.000 --> 16:03.750
ending point.

16:03.830 --> 16:06.000
So these are the common things which we are providing.

16:08.170 --> 16:12.820
Apart from that, what we provide is we provide the number of lives you want.

16:17.780 --> 16:22.460
OK, so what happens is in this case, it finds out.

16:31.840 --> 16:38.590
OK, so this is the difference between eating in space that in case of eating, we provide the stopping

16:38.590 --> 16:41.820
point, the ending point and the step between one.

16:42.130 --> 16:47.410
And in case of space, we provide the starting point, ending point and the number of values which we

16:47.410 --> 16:52.120
want now, because in case of eating, we have the number of steps.

16:52.390 --> 16:57.370
So it has to find, though, the number of values it need to generate automatically.

16:57.370 --> 17:02.590
So it will automatically find out how many values we need to generate based on the steps which we are

17:02.590 --> 17:08.980
provided by in case of mindspace, because we have provided the number of values which you want.

17:09.280 --> 17:12.930
So now it will find out the steps which would be required.

17:13.150 --> 17:16.070
So it's like the only thing in it.

17:16.100 --> 17:21.190
And we provide the steps and in case of space, we provide the number of values which you want to generate.

17:22.490 --> 17:30.080
OK, now let's try to generate a few numbers out of this so what we can do is we can simply say in the

17:30.080 --> 17:35.970
dot space and we can provide the starting point and ending point.

17:36.020 --> 17:41.960
Let us say I want to start from one and I want to go to say seven.

17:42.170 --> 17:46.940
And the step which I want to know the number of values which I want to have is.

17:48.170 --> 17:49.010
Let us say.

17:51.340 --> 17:56.890
Let us say we want to have five values in between this, which is kind of odd, but let's try this.

17:57.100 --> 17:58.000
So it.

17:59.800 --> 18:05.110
Generates values like one two point five four five point five seven.

18:05.440 --> 18:14.380
Now one more thing to notice here is that in case of an age when we provide the starting point and the

18:14.380 --> 18:18.430
ending point, this ending point is not included.

18:18.700 --> 18:22.950
So the numbers which would be generated, which will not have this ending point.

18:23.470 --> 18:23.890
Right.

18:24.100 --> 18:27.860
But in case of mindspace, the ending point is inclusive.

18:28.120 --> 18:30.340
So one more point, which we can add here is.

18:32.450 --> 18:33.530
So this is.

18:36.530 --> 18:37.400
No.

18:40.170 --> 18:41.810
Ending point.

18:44.190 --> 18:46.620
Is not inclusive.

18:48.790 --> 18:49.960
And in this one.

18:51.740 --> 18:55.850
Ending point is inclusive.

18:56.920 --> 19:03.310
Right now, another thing which we have here is in case you don't want to include this ending point

19:03.310 --> 19:08.330
here, in case we don't want the seven to be counted, we wanted to work somewhat like eating.

19:09.630 --> 19:11.970
So we can provide and point.

19:14.140 --> 19:16.140
I voted for.

19:18.110 --> 19:20.420
So now the number generated will not have the.

19:21.450 --> 19:22.460
And going for it.

19:22.840 --> 19:26.090
OK, so let me kind of copy this and.

19:27.640 --> 19:31.260
The second I show you the difference, you OK?

19:31.670 --> 19:37.250
Now another thing, what we have in case of mindspace is we can also return the step function.

19:37.580 --> 19:41.090
So what I can do is I can simply write, read, step.

19:42.730 --> 19:51.250
And I will make it as true, so it will reduce the number of steps, so the step value is of one point

19:51.250 --> 19:51.490
to.

19:52.560 --> 19:59.670
Which is right, point 2.0, minus one is one, point two, which is the stamp value, which it has

19:59.670 --> 20:00.230
considered.

20:01.020 --> 20:08.370
So this is what we can do using of these functions on a function which we have is we can apply a different

20:08.370 --> 20:10.200
mathematical operations also.

20:11.580 --> 20:20.160
So let us see, we have some numbers they've got to let us see nine.

20:20.370 --> 20:21.990
So what I can do is.

20:23.850 --> 20:26.640
For example, tonight I can find out.

20:28.920 --> 20:29.330
Ruth.

20:30.700 --> 20:31.600
Is equal to.

20:33.050 --> 20:41.390
And B is you, Artie, which stands for a square root and I got an X and say this and I'll just print

20:41.930 --> 20:42.890
it for you.

20:43.800 --> 20:46.140
So this is three, right?

20:46.380 --> 20:52.800
Similarly, if you want to find out the power, we can simply say power is equal to.

20:53.950 --> 20:57.240
And they don't bother.

20:58.390 --> 21:04.920
And then we can give some numbers, say, let's say again, let us give Exxon your let us give three

21:05.440 --> 21:07.540
and we want to raise it to the.

21:08.430 --> 21:10.080
Flavor of sea.

21:11.120 --> 21:21.010
Three again, so or let us for two for convenience and in info, so it gives us nine.

21:21.020 --> 21:27.380
So it means that Victor is raising three to the power and it simply finding on the square root of nine

21:27.380 --> 21:27.720
here.

21:28.070 --> 21:30.080
So this is something which we can do.

21:30.500 --> 21:31.960
Apart from these.

21:32.300 --> 21:37.550
There are a few things also which we can do like we can.

21:39.240 --> 21:47.670
Three, eight it is, and we can slice them and we can read them, so let us do one thing, let us generate

21:47.670 --> 21:48.870
a few more is.

21:49.920 --> 21:53.960
So let us create one for now.

21:55.380 --> 21:56.040
So.

21:57.290 --> 21:59.150
Let this creep and Eddie.

22:01.440 --> 22:07.110
So for creating an ad agency is equal to and B dot.

22:08.230 --> 22:14.710
Every answer, you give it enough sound foundations and then we start the rectangular.

22:15.670 --> 22:22.220
Now, when we give this rectangular braces, this means that we are giving the dimensions to it.

22:22.570 --> 22:24.470
OK, this is like the fourth dimension.

22:24.730 --> 22:29.970
So in the fourth dimension, I can add any number of values so I can add one, one, two, three, four,

22:30.310 --> 22:31.090
anything I can.

22:31.600 --> 22:34.390
So this is my area which has been created.

22:34.390 --> 22:35.560
I'll print it for you.

22:35.860 --> 22:38.260
So this is my area which has been generated.

22:38.500 --> 22:45.100
Now, in case I want to find out of the size and the dimensions of the area, what I can do is I can

22:45.100 --> 22:48.140
send a dot and.

22:50.770 --> 22:57.160
So it gives me the dimensions, so this means that this particular area is having the dimension one.

22:57.320 --> 22:58.800
So this is I one theory.

22:59.180 --> 23:04.690
OK, I'm the find out the shape also so I can see and shape.

23:07.130 --> 23:09.350
So this is for something.

23:09.380 --> 23:12.470
So this is basically up for values inside.

23:13.370 --> 23:15.470
Now, another thing, what we can do is.

23:16.830 --> 23:18.640
We can generate multiple dimensions.

23:18.660 --> 23:22.850
It is so what we can do is let us copy this again.

23:24.190 --> 23:25.480
And for the Tiel.

23:27.180 --> 23:30.220
OK, and let's do one thing, let's bring.

23:31.400 --> 23:35.840
He and his friend in the also.

23:46.030 --> 23:49.720
And we will bring this shape also.

23:53.360 --> 24:00.040
OK, so let us add more dimensions to it, so let us do one thing I just created to do it.

24:00.530 --> 24:02.170
So what are two plus two, Eddie?

24:02.180 --> 24:05.930
What we will have is we will have two dimensions.

24:06.110 --> 24:08.600
So this will be like fourth dimension.

24:08.600 --> 24:10.610
And inside this, I have another dimension.

24:11.030 --> 24:14.890
OK, now we will have a that is generated this way.

24:14.900 --> 24:17.200
OK, so it will be like this.

24:18.440 --> 24:20.210
So something like this would be the.

24:21.880 --> 24:25.540
And it will be comma separated and it will have.

24:27.810 --> 24:28.620
Another.

24:29.640 --> 24:30.810
Something like this.

24:36.560 --> 24:40.640
Now, does this look like an idiot to you?

24:42.500 --> 24:52.280
Just try to consider this, we will have some number one or two here and we have another number one

24:52.280 --> 24:53.120
for Montoyo.

24:56.910 --> 25:00.000
Now, let us run this.

25:01.560 --> 25:03.770
So here I have this eerie.

25:07.930 --> 25:16.890
Two rows and two columns, so what did I do here is initially I had only one rectangular braces, OK,

25:17.170 --> 25:23.940
now in this case I have to take mangler braces, which means that now I will have two dimensions.

25:24.580 --> 25:33.610
OK, when I start with the fourth dimension, this fourth dimension has two rows in it which are again

25:33.610 --> 25:36.220
depicted by one rectangular braces.

25:37.160 --> 25:45.500
So each role is depicted by one rectangular Brisas and it is separated by comma, and each column inside

25:45.500 --> 25:49.660
the room is again separated by OK.

25:50.090 --> 25:54.430
Now, what we can do is now let us try a few more variants.

25:54.770 --> 25:59.060
Now, what else we can do is instead of having a truly very sorry.

26:01.360 --> 26:03.850
Let us generate a 3-D video.

26:05.680 --> 26:08.200
Now, let me do one thing, let me add another.

26:09.840 --> 26:10.780
They mentioned it.

26:10.980 --> 26:15.280
So this is two plus three right now.

26:15.300 --> 26:17.070
I want to have one more damage.

26:17.490 --> 26:23.490
OK, so when I want to add one more dimension, this means that I will want to have.

26:25.960 --> 26:27.370
One more of this thing.

26:30.380 --> 26:32.810
So what I'll do is I'll read up on my here.

26:34.240 --> 26:37.950
And after coma, I will put the same thing again.

26:42.880 --> 26:43.840
So.

26:45.570 --> 26:47.280
Now we will have.

26:55.570 --> 26:58.960
We will have three brackets for three dimensions.

27:59.120 --> 28:07.670
Now, consider this, this is the fourth dimension, the fourth dimension has one in depth, and after

28:07.670 --> 28:14.060
that, when we go into this first break inside this, I have two entities.

28:14.360 --> 28:14.750
One.

28:16.220 --> 28:22.340
And these are doing so now, the dimension becomes one.

28:25.780 --> 28:34.680
Do I say this to what I have is I have again, so let me run this.

28:36.550 --> 28:37.300
So we have.

28:44.050 --> 28:52.510
Two, which is the rules, and inside this, I have only three columns, so this becomes three.

28:53.140 --> 29:00.310
So this is do comma two or three, which means that in the first record I have to matrices.

29:04.510 --> 29:14.090
I'm these two matrices internally have three matrix, so I have two matrices of two, three, eight.

29:14.210 --> 29:15.440
So this is what this means.

29:15.670 --> 29:18.850
So you can try a few more variants of this entire thing.

29:21.540 --> 29:29.220
Now, another thing, what we can create is this is one way of creating it is now another way of creating

29:29.220 --> 29:29.400
it.

29:29.400 --> 29:35.080
It would be if you want to create the identity, which is again used very, Heidi, so we can see why

29:35.610 --> 29:40.160
is equal to and B dot identity.

29:41.130 --> 29:49.950
And we can simply give the dimension of it now because the identity is of having the same dimensions

29:49.950 --> 29:51.720
on the in both roles.

29:51.720 --> 29:57.180
And so we can just give one value leg instead of giving five cross five, we can simply give five.

29:58.460 --> 30:01.800
OK, so this is what it would generate.

30:01.840 --> 30:04.550
So this is a five plus five identity matrix.

30:04.790 --> 30:12.560
Now, in case we want to multiply this by any number we can do that we can give buy into do so, it

30:12.560 --> 30:14.180
will multiply all the values by two.

30:16.910 --> 30:23.540
In case we want to generate in theory, using randoms, you can do something like.

30:25.040 --> 30:26.220
And the don't.

30:28.760 --> 30:29.570
Vandam.

30:30.600 --> 30:31.980
Not random.

30:35.190 --> 30:44.130
So we saw that to begin with, one number like this weekend weekend generate through DNA using this

30:44.610 --> 30:46.530
just has to be given in a double form.

30:52.950 --> 30:53.720
Just on.

30:55.390 --> 30:59.060
Now, this has to be given up before now I can.

31:00.000 --> 31:08.630
Increase the dimensions and can do anything like this, so this is what we can do, apart from that,

31:09.150 --> 31:13.090
we have learned about the ship also.

31:13.440 --> 31:17.490
Now let us see if you want to do some kind of slicing.

31:17.910 --> 31:20.770
So let me create another eddy.

31:21.420 --> 31:23.480
So let see in the dark.

31:25.680 --> 31:30.210
And Ange and let me just read what Cathy.

31:31.420 --> 31:36.490
And in this 30, I can have thought the shape.

31:37.500 --> 31:39.120
And I can give.

31:46.770 --> 31:47.570
For.

31:48.890 --> 31:50.930
Or five Gomaa.

31:51.870 --> 31:52.970
Three, former two.

31:57.200 --> 31:58.610
Or let us give.

31:59.840 --> 32:01.540
Three, four, five.

32:14.760 --> 32:16.600
So we have invaded this area.

32:17.100 --> 32:23.370
Now, what we can do is if we want to achieve some particular value from this, so what we can do is.

32:24.960 --> 32:27.090
So let us name this as X.

32:30.060 --> 32:31.440
Let me print X.

32:32.700 --> 32:38.700
Now, from this experience, again, appli slicing on top of this, so how do we apply slicing weekend

32:38.700 --> 32:44.730
some eggs and let us this so let us try to get you out of this.

32:45.150 --> 32:50.520
So when we get to we get the second matrix from this.

32:51.990 --> 33:00.690
You notice the shape is three to five, so from the first dimension, it picks out the second and makes

33:00.930 --> 33:01.300
eight.

33:01.350 --> 33:05.610
So we get to hear if we want to get, let's say something like.

33:08.010 --> 33:09.800
Zero to two.

33:10.790 --> 33:17.760
Being get like this, so this will give zero, one and two is always kept in case of slicing.

33:18.320 --> 33:24.550
If you want to get all of these, then we can do it this way so it will get all the values out of this.

33:24.890 --> 33:27.150
Now, I the thing what we can do is let us see.

33:27.180 --> 33:33.740
We want to get these two values so we can see one, two on.

33:34.970 --> 33:41.150
And from the second index, so let us first get this much.

33:43.010 --> 33:47.970
This is what we got now from the second index, let us see, I want to get.

33:49.260 --> 33:56.750
These alternate values, I want to get 11, 16, 14, 18, 21, 26, 23, 28.

33:57.030 --> 34:02.970
So what we are trying to get here is from each role, I want to retrieve the.

34:04.340 --> 34:05.570
Second.

34:06.450 --> 34:11.430
And the fourth column, so the index would be one.

34:15.420 --> 34:22.670
Now, let us further try to modify this, so let us see what we can do.

34:23.130 --> 34:29.690
So if we try to get values from zero to the end, it gives us the same response.

34:30.000 --> 34:32.420
Now, we've won the first value to be in heaven.

34:32.670 --> 34:34.560
So instead of zero with one.

34:41.330 --> 34:45.470
Now, if you see this has figured out the rules.

34:49.370 --> 34:52.830
Which means that it will pointed out that Rossmo.

34:54.620 --> 35:02.270
So if you consider what it is doing is let's get all the bad news so it goes to the first.

35:04.140 --> 35:10.740
And some people, as I mention it, some of the volumes now, because we wanted these two brackets to

35:10.740 --> 35:17.430
be considered, these two is the first index and the second index to be considered, that is they need

35:17.430 --> 35:19.110
to get from one through to the end.

35:20.080 --> 35:23.250
Now, this bracket has already been taken below.

35:23.520 --> 35:25.100
So this is what this supposed to.

35:25.950 --> 35:28.390
So now what we do is we get to the second.

35:29.280 --> 35:36.630
Now, what the second bracket gives us is the second bracket, again, has the rules, which means that

35:36.720 --> 35:43.920
this particular golden rule for the rules now legacy, we don't want all the rules, but we want only

35:43.920 --> 35:46.300
the second rule to come up.

35:46.980 --> 35:49.860
So what we can do is we can simply give.

35:52.340 --> 35:52.930
Do you?

35:54.610 --> 35:56.920
So it's not giving any value.

35:58.040 --> 36:01.730
So it gives the host the second index.

36:02.690 --> 36:08.770
Right now, we want to obtain 16 from this and 18 from this.

36:09.110 --> 36:12.910
So what we will do now, we are going for the volume level.

36:13.550 --> 36:15.060
So this is the next level.

36:15.080 --> 36:16.440
So we call my here.

36:16.850 --> 36:17.450
So now.

36:18.700 --> 36:27.730
We won the Boston Nicks event, and then we wanted in the end, but we want a step function all now,

36:27.770 --> 36:29.100
let's all get the step function.

36:29.290 --> 36:30.410
Let's go this way.

36:30.700 --> 36:31.560
Let's run this.

36:31.660 --> 36:37.420
So we get from 16 to 19 now, but we don't want 16 to 19.

36:37.420 --> 36:39.040
We want only 16 and 18.

36:39.280 --> 36:43.320
So now we can put a step function in front of this by adding Apollon again.

36:43.600 --> 36:45.340
So we put step function school.

36:45.670 --> 36:49.080
So now it will give us 16, 18, 26 and 28.

36:49.510 --> 36:54.790
So similarly, you can try different combinations and try and.

36:57.090 --> 37:00.930
Now, let us try to do some more changes.

37:01.940 --> 37:07.070
Now, in case we want to get that out on this particular condition.

37:07.880 --> 37:10.250
OK, so let us try to do one thing.

37:10.490 --> 37:13.220
Let's find out what is.

37:14.210 --> 37:14.890
It's.

37:16.450 --> 37:17.770
More so.

37:18.820 --> 37:26.680
OK, we are making X Montu, and we are checking with empathies equivalent of zero, so this redounds

37:27.250 --> 37:28.180
these values.

37:28.810 --> 37:33.100
So we are getting to drill to drill, too.

37:33.340 --> 37:37.480
So if you see all of these values, I was able to.

37:38.880 --> 37:40.980
So we are simply getting the even values out.

37:41.730 --> 37:45.070
So I'm just figuring out so right now it is just a condition.

37:45.780 --> 37:50.170
Now I want to apply this condition on my Indian.

37:50.880 --> 37:58.550
So what I do, I simply say X and inside the braces, I will put this condition.

37:59.190 --> 38:02.880
So I will send people this condition inside this braces.

38:04.620 --> 38:07.260
And when I run this, I will get all the.

38:08.530 --> 38:13.750
Even values now on top of this, I can apply the ship in case I want that.

38:14.170 --> 38:15.220
So that is how we will.

38:16.810 --> 38:21.520
Now, the next thing what we can do is we can again apply different combinations.

38:24.630 --> 38:32.790
Now, let us try to put in those photos, so let's try something else or let's say it's because then

38:33.360 --> 38:33.780
five.

38:36.450 --> 38:46.230
So we get all the values that I like put also give values greater than 15, I can apply something like.

38:48.950 --> 38:55.310
Although values could be like any kind of rule, that would be a place now for the we can try some more

38:55.310 --> 38:55.760
things.

38:56.790 --> 39:04.020
Like, we can add the values of a president and the entire thing, so before doing that, let alone

39:04.020 --> 39:06.720
the concept of access here.

39:08.140 --> 39:11.870
So let us say we want to find out standard deviation.

39:11.890 --> 39:18.040
Now we've learned about our we've learned about squid, so let's learn about standard deviation because

39:18.040 --> 39:22.630
it is again, less news so we can do something like.

39:24.740 --> 39:29.370
We can find out the standard deviation of X, so in the.

39:33.850 --> 39:40.090
It gives the standard deviation of things now in case we want to find out the standard deviation across

39:40.090 --> 39:43.120
a particular axis so we can do something like.

39:44.310 --> 39:45.420
Copy this entire thing.

39:46.430 --> 39:48.020
And we can simply say.

39:49.990 --> 39:50.740
Axis.

39:51.640 --> 39:52.630
Equal to zero.

39:54.210 --> 39:58.440
Which comes out of these values and let's see ENPI.

40:00.810 --> 40:04.650
And we say axis equals one.

40:06.320 --> 40:08.130
So it comes out to two point five.

40:08.780 --> 40:17.960
So what happens here is that for these values, the standard deviation is calculated on the basis of

40:17.960 --> 40:19.050
the axis values.

40:19.190 --> 40:23.390
For these values, we can find out the standard deviation.

40:23.420 --> 40:29.120
So the difference between these values, the maximum difference between these values is point five from

40:29.120 --> 40:29.480
the mean.

40:30.810 --> 40:40.370
Right now, if we compare with respect to the now this is on with respect to axis of Z.

40:42.870 --> 40:48.370
OK, so for Access Zettl, it is shaking at every level.

40:48.810 --> 40:52.080
So for every rule, it is checking the standard deviation.

40:52.080 --> 40:55.590
So standard deviation of this rule internally is.

41:02.510 --> 41:06.640
Standard deviation of these values is a standard deviation of these values.

41:07.580 --> 41:08.630
So for each.

41:10.580 --> 41:16.520
Follow the standard deviation is Jay, I'm going to go again, the standard deviation has been.

41:18.310 --> 41:24.700
Now, when we mean access equals zero, this means that we are checking on the rules.

41:26.650 --> 41:29.190
So we are working with E to.

41:30.700 --> 41:33.250
We are talking about combating Boodles.

41:34.600 --> 41:40.810
And when we are talking about X is equal to one, that means that we are comparing in the volumes.

41:41.230 --> 41:43.210
So we are comparing apples to apples.

41:43.240 --> 41:45.180
That is why it is coming to you.

41:45.550 --> 41:48.730
And here we are comparing across the rows.

41:49.570 --> 41:53.650
So it is coming us to eat something.

41:54.700 --> 42:00.330
The next thing what we can do is we can find out the sample and support these values.

42:00.340 --> 42:04.440
So in case you want to find those dimes, we can send in some.

42:04.930 --> 42:10.260
I know you just give the name of the Matrix.

42:10.540 --> 42:18.100
So this is the sum, if you want to find out the same across a particular axis, then we can do the

42:18.100 --> 42:23.610
same thing just for axis equal to zero.

42:24.030 --> 42:25.270
If you give the sum.

42:25.540 --> 42:27.730
If you put the axis equal to.

42:30.500 --> 42:35.840
When you give a body, Google X is equal to one, so these are a few things which we can do.

42:37.100 --> 42:44.090
Apart from that, there are a few more things like religion reading, although we will be walking with

42:44.090 --> 42:53.360
already the data, but in case we want to plead for so forth that we can use random choices again,

42:53.450 --> 42:54.520
the ever again.

42:54.710 --> 42:57.950
So what we can do here is we can do something like in the.

42:59.490 --> 43:01.310
Not random.

43:02.830 --> 43:03.270
Don.

43:04.520 --> 43:05.270
Joyce.

43:06.510 --> 43:14.800
And we can simply give the states or we want to get the values from X and I want to be selective in

43:14.820 --> 43:20.220
values randomly, so it gives me the values.

43:23.800 --> 43:30.790
Let's do one thing, another thing is like this has to be one theory so we can do something like we

43:30.790 --> 43:35.250
can create Excel or we can simply give an angel to you.

43:35.500 --> 43:37.650
So let's be the nearest being.

43:37.820 --> 43:44.340
The one here is equal to the dot range.

43:45.560 --> 43:51.320
And we give, say, happy values here, so I will randomly pick out values from these values.

43:51.590 --> 43:55.330
Now, let us say, instead of Ben, I'm giving just Ben here.

43:56.090 --> 44:03.070
So if I give them, it takes out then random values and you can see that the values are being repeated.

44:03.110 --> 44:03.380
You.

44:05.740 --> 44:07.870
Now, another thing, what we could do is.

44:08.930 --> 44:14.320
We can give five values also and take our values from five.

44:14.700 --> 44:18.200
Now one thing we can do is we can use replace here.

44:18.680 --> 44:24.890
Now, what replaces allows is that it will make sure that if we can replace values or not.

44:25.130 --> 44:31.250
So if we make the place equal to zero or false.

44:32.370 --> 44:38.160
So what happens is if they throw in it, it was throwing at error because we are giving only five numbers,

44:38.160 --> 44:42.990
then we are saying get the numbers out of these five numbers and go into the numbers.

44:43.140 --> 44:48.120
So that is something that we can all do so that we walk only if I give a boost in numbers to.

44:49.290 --> 44:56.480
So now it was in their numbers randomly, and it will not it will not repeat them until now in case

44:56.490 --> 45:03.030
I give lesson number and I want to make it basically, then this will not work.

45:03.040 --> 45:04.950
So if I make it to.

45:07.330 --> 45:13.210
By this is value, so it works like this, so you can play around with these values.

45:13.420 --> 45:15.370
Now, another thing, what we can do is.

45:17.050 --> 45:26.650
We can feed those values, which from which we want to see, I want to select from random values, so.

45:34.230 --> 45:41.580
So I'm making a choice here out of a list of, say, zero and one.

45:42.890 --> 45:46.640
And I want to select again such occurrences.

45:47.570 --> 45:53.030
So it gives me one zero and one so instead of zero and one, I can give you 10 points or also.

45:54.850 --> 45:57.400
Or I can give any values the.

46:00.580 --> 46:04.930
X and Y, so I can do that also.

46:05.200 --> 46:10.600
Now, one thing to make sure is that it will always try to give the probability it will be almost 50

46:10.600 --> 46:11.290
percent higher.

46:11.680 --> 46:16.000
So the probability of getting X and probability of getting Y would be equivalent.

46:18.140 --> 46:23.570
So no matter then how many valleys you get, if you get a values, also, the probability would remain

46:23.570 --> 46:23.960
the same.

46:24.650 --> 46:28.140
Now, what we can do is we can take this also.

46:28.370 --> 46:30.740
So let me get these values in.

46:32.400 --> 46:39.900
Why let us see, so I've got these values and why now I can check if the number of unique values so

46:39.900 --> 46:40.780
I see unique.

46:41.880 --> 46:48.480
And I will check the values envie, and I see that on.

46:51.620 --> 46:56.930
Count is equal to two, so now it will just reduce the count.

46:58.020 --> 46:59.940
So when I ran this.

47:04.170 --> 47:11.190
So it will give the balance of this so because we have a thousand values in lives or in most people's

47:11.190 --> 47:14.940
independence's, let's say if I give them thousand values.

47:16.290 --> 47:24.840
And this, again, it is even more and more the number of values we have, the more that it would get

47:24.840 --> 47:26.800
to that 50 nation.

47:29.420 --> 47:35.390
Now, another thing, what we can do is we can also give a particular probability to these.

47:36.850 --> 47:45.160
So I need ninety thousand views, and apart from that, I will give the probability and I will see I

47:45.160 --> 47:48.160
want the probability that we will do the same.

47:49.370 --> 47:50.510
Point seven.

47:54.660 --> 47:55.460
Whinfrey.

47:56.420 --> 48:00.540
And let us keep as many thousand.

48:02.460 --> 48:07.410
So let's run this on the let's run this also.

48:11.190 --> 48:17.460
So now you can see we've got the similar kind of facial, so these are around seven thousand twenty

48:17.460 --> 48:17.830
thousand.

48:17.860 --> 48:24.360
So the probability has been taken from this, what we have provided here in the last one so we can do

48:24.360 --> 48:25.260
these kind of things.

48:25.290 --> 48:31.530
Another thing what we can do is we can generate some random numbers, like let's say we want to generate

48:31.530 --> 48:39.810
some numbers in the door, random, not random and the individual.

48:39.810 --> 48:44.760
But you want to generate we want to receive the lower value to be.

48:46.580 --> 48:49.280
The theme and the higher value.

48:50.520 --> 48:53.400
Do we see on hundred?

48:54.570 --> 49:02.850
And we want to give some results also, we see size equal to.

49:05.630 --> 49:13.790
By phone lately, it's generally this policy matrix with lower value being 15 and higher value being.

49:14.510 --> 49:22.820
And if you write if you visualize this, then you will find out that these values are actually spread

49:22.820 --> 49:23.780
out equally.

49:23.960 --> 49:27.170
So there is this would be kind of an anomaly form.

49:27.230 --> 49:32.950
So the data would not be present in such a way that some values, no values would be higher.

49:32.950 --> 49:35.330
Higher values would be lesser in numbers.

49:35.360 --> 49:36.520
Nothing like that would happen.

49:36.540 --> 49:38.860
It would be a good spec of data.

49:39.200 --> 49:40.570
It will be spread ecovillage.

49:42.690 --> 49:48.850
So these are some of the functions which we can apply on UNCOMFY.

49:49.080 --> 49:57.760
So next, what we would learn is we would go about five dollars and we would work on a data set if possible.

49:58.050 --> 50:01.240
So let's go ahead with that in the next edition.
