In this video, we are going to discuss about the number of areas in Python.
Number three is a python package that stands for numerical python.
It is the Gore Library for Scientific Computing, which contains a powerful endowment object, it contains
in dimensional.
Adi objects now where is no used by the lumberyard to provide tools for integrating C, C++, etc.,
it is useful in linear algebra.
Random, no capability.
Etc., No, I can be also used as an efficient, multidimensional container for genetic data also so
it can be used for storing genetic data.
Now, what is exactly this Biton by adding So this python Byetta is actually a powerful individual object
which is in the form of rules and golems.
And we can initialise by name, by ATI's from nested by list to assist the elements in order to perform
these numbers by operation now.
Next question, which can arise is that how can we install nubby software installation?
You have to simply write pip install.
No.
All the packages in this particular number in the command from your navigator, you can write an installation
will be complete and then for starting you have to write in your ID or Djiboutian notebook of whichever
platform you're using.
You can simply write import.
No, I as in maybe you can name this anything according to your wish, there is no need to write in,
but you can write and also but you have to use this particular end as a variable or an object when you
call the other methods which are there in this number by Monu.
So this is very basic about numbers.
And next, we are going to discuss all you might have a question that when we have list, why is the
need for number eight so be used by the number Bayada instead of list because of these following reasons
that it requires lists MEMRI?
Secondly, it is fast and it is useful for convenient.
Scientific calculation, and it has more capability than the list.
So that is why we used Python number three instead of list, Lazaro's having the limited features,
but for large calculations and scientific calculations we use, numbat is a number that isn't Python.
Now, let us switch to how can we create a Bayada and how can we perform several other operations?
So for that, we have provided here a tutorial also in our website, and the link will be given in the
description of the video.
So this is the basic introduction which we have already discussed.
And next is Adi.
So Adi or Numbat is a bit of values of same type and it is indexed by a couple of non-negative integers.
The number of dimension is the rank of the particular party and the shape of that is that will often
be just given.
That means if you bring to the ship, then it is going to bring you the exact how many people of teachers
are given then the size along which each dimension.
So firstly, we need to create a number.
Bayati and now let us create an empire.
Here you can see that first the import is done and then a number that is created and elements are entered
as one, two, three.
This is a frank one because it is one dimensional, which is having around Gwon.
So we are going to firstly create a narrative.
So let us firstly import.
Number five, as in the line.
It is the activity we are creating here, so it can be bought at a.
And as we're giving multiple values, so we're using square brackets and one, two, three.
Next, firstly, we need to bring the type.
Next, we need to bring to the type.
So we're printing the type.
Of.
A.
And then we're going to bring to the.
As I execute this particular cell here, you can see that it is sprinting me, that the glass is no
light and the area that is in dimensionality and it is bringing me the elements which I've been given,
you know, how can I assist the elements that this particular element?
How can I do that for that?
Simply as we do, unless there is also the same function we have to try to bring on zero the next.
So it is going to bring to one you can change the next here.
Also, if you want to bring it off second and next, then it is going to print three.
This is all about adjusting that element.
Next we have how can we change a particular element.
So for changing, you have to simplify the index and then specify the value.
For example, at the second place, I want to change the element to it and then I'm printing the value
of it.
So you can see it was one, two, three, and now it is one to eight.
Next, we have to rank ADI.
That means it is having rules as well as columns.
So how can I do that?
I'm here initializing another very will be that is creating a number by ADI.
And.
Here I am giving the values firstly, one, two, three, and next time giving the values four, five,
six.
So this is obviously two dimensional and then I'm going to bring the.
B and then I'm going to use the sheep function in the shape of B.
And then I'm going to use the sheep function, so for that, I like this to be not sheep.
So as I execute this particular cell here, you can see that it is displaying a two dimensional ADI
and it is given here in two square brackets is inclosing to screw records.
And it is here that it is having two rows and three columns of sheep disaster that.
How many particular elements are there in that?
How many rules are there and columns out there that is denoted with the help of sheep to see the indexing
that haratin mixing is done and for that will create a following to rank at it with the sheep.
Three, four.
That means three rows in four corners and then we go to print it.
We're going to bring the shape of that idea also.
And then we are going to see that in mixing the how it is done.
So firstly, for that, we have to import
number five, as in.
Next we have to create three.
So that is equal to in B, not adding.
And here I'm going to write.
Firstly for one, two, three and four.
Next, I will write four, five, six, seven, I.
Similarly, I will write as I want a three to one four column.
So this will be my last.
So that is nine, 10, 11 and 12.
So this is all we have a daddy and you're going to bring to this er.
And now it's slicing in that.
How can I do that?
So firstly, I'm going to bring to the sheep.
So that is a sheep function is used.
And next, what are you going to do is in the we are going to store a.
One Colin going to call.
And next, we're going to bring to this beal's.
Now, as I execute this particular set here, you can see that first layer and add in the dimension
is that three doors and four columns is printed and exploded has done that shape is also printed.
That is having three rows in four columns.
Now we are assessing the elements or indexing the particular elements which are there in added, and
it is bringing us seven, eight and 11.
But that means here you can see that this particular area, you see.
So these are the elements which we are not a one, two, three, four, five, six, seven, eight,
nine, 10, 11, 12.
And this is the next particularly zero one two and zero one, two, three, four columns.
And this is four floors.
Now, the first condition which we have given is one Galán, and we left it back.
So starting with this raw one.
And here you can see that it takes seven.
And Ed.
And next, we have given for two and the Leford back, so it takes from this first rule and the second
column saying trees are seven, eight, hit and hit, it is Lebanon.
But for these four elements that are cracked and brings up the element that seven, eight, 11, 12,
that is what we have seen in the world, but also.
That it brings seven, eight and 11, we'll by checking this particular index thing, which you have
given, and then bring those beats next.
You can also rank the first two and the second view of it also, which is created and then bring the
rule shape and the column shape also.
So how can I do that?
Let's see.
Next, we are going to see several mathematical operations which we can apply on Bayati.
So we will create Tewari firstly and then we'll print this addition, multiplication, subtraction,
division, and also we can bring the square of that one out of the other elements of the squared often
added.
So let us do that and see how it is done.
So firstly, we have to create X and and B. Not adding.
And it does do damage, ladies, I'm giving it one and two as first elements, and next I'm giving.
Three coma for.
So this is Wednesday, and that is why.
Five, six and seven, Karma eight.
So these are the two areas which we have created and hopefully what I'm going to do, I'm going to bring
X.
Next, I'm going to bring to my.
And then I want to bring the summation of X plus Y.
So now execute this particular senator can see that A is having one, two, three, four.
Why another area that is having five, six, seven, eight.
And summation of that.
The as much examination is done.
It is done here.
That is six, eight, Ben.
And four plus that is doing similarly.
And you can also bring in these two statements because we know that a.
What it will be printed and in place of submission now I replace it with Minus and execute the seller.
You can see that minus values are given when substraction is done that in the next set was subtracted
with the wire.
So one minus five, that is minus four to minus six.
That is also minus four, three minus seven is equals to minus four and fold minus eight is also minus
four.
Next we're going to check for the multiplication.
So this is the multiplication of the added element.
Similarly, we can do the division also.
So this is the result of the division and lastly, we want to check for in Bédard Square, so let us
do that.
Also here, you can write in B dot square root of the elements, which are very exciting.
And when you execute that, it returns to the square root of those elements also, which are there in
the exciting next.
You can also check the sum of Ali, particularly that you have An and B at it and you want to check
the sum of only X.
So how can you do that here?
What you have to write just simply in the spring statement you can write and B, dot some and parse
the perimeter X.
When you do that, you get added on some, that is STEM, that is individual champion added, that is
one plus two plus three plus four.
So that turns out to be seven plus three.
That is then.
Now you can also bring according to the access that you want to bring, the sum of each axis, then
how can you do that.
So you have to simply engineer the axis, which you want to bring some softer X you can right here.
Axis equals to zero when you do that.
You see, that is four and six.
That means X sum is given so long, the x axis three plus one, that is four and four plus two turns
out to be six.
And if you write the same statement again, four and B, not some.
X Kohima X is equal to one.
Then it is going to bring three and seven, that means now call them some is giving you that is one
plus two is three and three plus borders seven.
You can also bring to the transpose of a particular matrix and all of this added.
So how can you do that X not Gabbiadini when you do that?
You can see the columns and Roosa interchange that is all about transport.
And by the end of this video, we have started about the number Byetta number that it is actually a
multidimensional and dimension group of Eddison mattresses as well as we have started about the function
that can be performed for advanced mathematical and static's operation on the objects.