Hello, everyone, and welcome to this tutorial here, we will understand Bendat c.D.
Let us begin.
Technically, Bendat series is one dimensional labeled Eddie, which is capable of holding any type
of data.
In simple words, we can say that Bendat series is nothing but a column in an Excel sheet to create
Bendat series.
First, we have to import deliberate edes.
First import numpty.
Then import Ben Dods.
As BP execute.
No, we will create abandoned theories from at least.
Creating bend that she reads from a list.
Now, define a list.
My data.
10, 20, 30, 40 and 50 defined.
One more list labels.
A, B, C, B, E, execute.
To create a Bendat TV TBD, be how to use a Method C, D, APB dot C reads.
These are the arguments that we can enter.
First one is the data.
The index data type name.
Copy.
And fast.
But first, two arguments are very important.
Data and index.
No specified data.
The data is equal to my daytop.
So this is our band that reads.
This is the data and these are the indexes band that CBS is very similar to the name Be Eddie.
But there is only one difference.
Band Bendat Tyrese has indexes like these.
These are the indexes.
Let us create one more band that CTD.
IPD darte CBD.
Putting data is equal to my data
and the index is equal to Labor's.
In this output, this is our data.
And these are the indexes.
No, no, down.
One more important point.
There is no need to specify data and index IPD, dot CBD.
Specified data.
My data.
Then the index labelled.
Same output.
So we can't specify data and index otherwise.
Bitin will take input in that way.
So this is how we can create a that series using lists.
Let us understand how to create a band, that CBD using numpty at a.
Now create an MP, Eddie MP dogged Eddie.
And in parentheses, my data take this at a great to create append that series using numpty at a V,
how to use the same method.
IPD Dorsey reads.
And in parentheses, they doubt the dick will do.
Eddie.
Great.
So this is our data and these are the indexes.
Here we can add labels also let us see how BTD Darcy reads.
Data is equal to Eddy and index is equal to labels.
So this is over data.
And these are the labels.
So this way we can create a panda series using them P at a.
Let us understand how to create a plan that CBD using a dictionary.
Define a dictionary.
Be key as a value hundred, then key B value 200, C, 300.
B, 400.
Now, take this dictionary, great key value pairs.
Let us create opened that Tedi's IPD, Darsey reads.
Specified dictionary.
So this is a band that reads.
You can see here keys and values.
So it is very easy to create a band that CTD using a dictionary.
Depend that cities can hold almost any type of data.
Let us understand this.
IPD don't see these specified data is equal to labels.
No, this is our data.
These are your characters and these are the indexes, zero to food.
So this Bendat series contains characters.
You can see that I type here object.
Let us take one more example, a Beadie Doxy Dede's.
Data is equal to specify a list here.
I will pass inbuilt in functions in Python like some Lenn execute.
So this is the output.
No, you are not going to create a Bendat series like this.
I'll show you an example.
So dependency these can contain almost every type of data.
Let us understand how to grab the information from a band that seaweed's.
Define open that series as eight out of one Beadie Dot series, specified data.
Numbers from one two forward.
Then specify.
Index.
He had a baby in name of Nicholas Reed Green.
Blue and orange.
No execute.
Take this to read.
Great.
So this is our data and these are the indexes.
Now, define one more Tedi's as we are to.
COPD based.
One, two, five fold and index is red.
Green billett blue, specify yellow.
Execute.
Take this series.
Great data and indexes.
Now, suppose we are out to grab this number two.
And from this reads.
Type theories do and putting the index green.
So this is a very quiet output.
Let us see one more example, a series vun.
We will grab these three.
For three, index is blue.
A blue execute.
Three.
So this way we can grab information from a band that Seabees on the basis of labels.
Let us see how to grab information on the basis of index location, they find one more series.
Series three, B, B, dot C reads.
Data is equal to A, B, C.
B and E execute.
Take this series.
Great.
This is the data and these are the indexes.
Let us grab character B to do that type Series three and pass in the index location.
One B.
So this way we can grab information from append that series on the basis of index location.
We can grab multiple characters.
Also, let us see how type Series three, index zero two three.
Execute three characters.
ABC.
So this is all about the grabbing data from a pen that reads.
Now, take this series, Ben.
Series do also.
Now, add these two series VUN plus series to execute.
So this is our output.
Let us understand this.
Bendat, see these ads?
The information on the basis of labels and these labels are in alphabetical order.
First blue in series one.
There is a label blue.
But in this these two, there is no label as blue.
So blue is equal to none non-value.
Then the second label is green.
It is in both series.
Green is equal to two.
So green is equal to four point zero.
It series canvas an integer in to offload.
Then orange it is.
In both seaweed's orange is equal to eight point zero four plus four.
Then red rate is equal to one.
Red is equal to one.
Red is equal to two point o.
And at the end yellow men value.
So this is how we can add to C reads.
Let us revise what we have learned in District OTL.
First, we have understood how to create a pan that CBD to create open that series.
We hope to use this method dort CBD in this method.
We hope to provide two important parameters, data and index.
First, we have created append that series from a list.
Then we have created a penalty, these using numpty, Eddie.
And after that, we have created a panda TV using a dictionary.
And after that, we help understood how to grab the information from a pen that reads.
So despite NTD ordeal unbend that reads NCEA.
I will see you in the next one till then.
Happy learning.