All right so we're here to continue up with the science libraries out here.
And now we have something that is numpad the library that we're going to dive deeper into.
We saw last time the we saw a number by and then a Matloff lib library as we can see out here.
All right.
So this is quite what we did last time.
But we can now begin up with something more.
And so and dived deeper into numb by as a whole so we can start up with a new new file.
Let's go on detail analysis and I'll take you out here.
Maybe I can begin of course I can use the same using them by the IP by N.B. For now.
But then when I run it I'll have to give my children a notebook ID or the token ID that we need to do
it.
All right.
So maybe you can do it here or if you want we can just start another one let's say you know I'll open
up a new chip in a notebook and say Nampa number by 4.
Yeah.
So I'll open up that and then maybe I'll just just for checking if everything is fine with a chip in
a notebook I can just print hello.
And of course I need to put the token.
And as I told you you need to go out here to all you can get the token also in the Anaconda problem
do you have the talk in here.
But it is it's not easy to copy from here.
So you can go to your Krome wherever it open the jugular because open you can just go on to your too.
Yeah.
You can just press F trails or function at all it gives you the elements and the elements are there.
There is something called as an API token discoveries that come back to your chip in a notebook and
paste the token once that is done you say OK connect and distribute Jupiter notebooks over with that
takes her up and down.
And we have print hello.
Right.
So that's how we we can upgrade.
BI OK for now we can of course we're going to modify this if you know what.
Hello Tia.
All right let's make it as a month down and let's say none by and none by and dive deeper.
Now comes the question.
OK so if I'm going into name by Y and by when a list is already available what is the benefit of using
an name by name by NDA or what a list.
Right.
Like if you remember up LSD LSD is going to be equal to let me just define a few numbers out here let's
say twenty four 12:57.
OK this is a number which is which is a list which is there out here.
And of course if I print LSD and of five print the type of LSD that's gonna be
right it's going to be less than of course it says that it is the type of glassless correct.
OK.
But but if I if this is about the lives can I also say if this is a list I can also say that from this
list.
Now I'm going to do something more.
That is I'm going to create an empire.
And if you remember I had done last time.
Import right here for creating an empire I had an import done by as MP and then I'd gone onto and then
gone to saying N.P. dot dot dot dot dot atti.
So that's already there and we are very I need to pass the list.
Let's pass list LSD.
So once I pass the list of causes is gonna return to me.
Number three let me call it as list.
OK so one is a list and an address an empty list that is non-pilots.
OK let me print the entry list and Prynne type list.
It Right.
OK.
So once I print that up OK I'll just say she tenter and then it runs out there.
Yup.
So as you can see this is one this one is a class name Piedad in the ad.
Right.
So these are numbers that are in the area which is quite a ways with this though which is quite very
similar to the lists.
Both look same except for the commas.
That's OK.
But both of them get the answers just as you would access the.
So if I say and B LSD of zero you would be able to access it the way I would accessit access the list
or if I say the LSD of minus one even that would be very much perfect because that would be the same
way as you would Z-list.
So what the great thing about non-pilot was the list we discussed that last time.
All right.
So in the last session so we discussed that if in a less let's say LSD I would say LSD.
If I had to manipulate each element of the LSD I would require a form or I would require a list comprehension
where I would say LSD one would be equal to would be equal to would be equal to four for every element
in LSD I would want to do some manipulation.
Let me say elist sorry.
Element Element Square.
Right.
So element Square is just one.
If I print list one this would be done for a normal list but for a number and not so you can directly
do it.
Wait wait.
As I told you I can have an umpire error by saying the LSD one can be equal to any LSD race do too.
And if I print and play LSD one I would have the same hunch.
So this is the great thing about an umpire idea with a list.
Of course this is the first thing that we saw but there are huge.
There are multiple things happening here.
If this was the only thing that is happening of course we would have maybe we would have gone we were
stuck with a list because you know B-6.
But let's discuss two other major concepts where a number pi differs from a list.
So I can say pi was our list or instead of say NUMP like can say and the addy was this list because
and umpire is out of type NUMP or anybody.
Right.
So let me just call that up.
Let me define this a month down.
Runit shift enter.
So you have a small topic out there in the area was this list.
Now the first thing that I want to cover in a in the list is the memory consumption.
So if I make it another one and let's say memory consumption
between you know in first let's discuss in a list and then we'll discuss the memory consumption in a
areas so of course I'll define this.
This is a meltdown and to shift into.
So that's a memory consumption in a list.
And let me go on to say.
OK.
So how do I get the memory consumed by a list.
Let's understand if I say from close up.
Yep from Sis.
I need to import Metford callers get XYZ off.
So that is a model coalesces and in that Mondial that is a matter Calders get sites off.
I'm going to call that gets I so when I refer to it when I recall that function I'm going to refer to
it as just simply psych's.
OK.
Now let me say my list is already there my list is what my list is going to be my list if you remember
is is already you know 24 12:57.
OK.
So you can just print it up for now.
But don't do anything further.
OK.
Now this is my list.