Hey everyone.
So in the last few days we have covered the cities in the studio.
We are going to cover the data frames so generally in my opinion data plumes are just defames of cities
or we can see that a number of cities with sharing common index.
That's what you are going to know here.
That is the first let me have few lists.
That is something like first I have a diskette really and this one one two three and four then I have
the
five six seven eight 10 C 9 0 1 2 then the this one me let me capitalize this one and this one also
then we have a deal that will be one two three four five and six then we have e this one equal to seven
eight nine and again zero.
That's it.
Now to define the data frame we just use but let we have a variable that is deaths.
Who did everything in a common variable for the difference and we do something like baby don't and just
like series here we write data frames in which these capital and F is also capital in frame.
So make should be an effort to capitalize.
Then we have here we will define.
If you just press shift tab you will get the option that first you define data that indexed in columns.
So here first you will need to have the data and other data is going to be a list and not a single list.
All these lists in a single list because a data frame consists of many list as I have told you frame
of cities.
So this one is going to have many cities and we just try to hit a common be comma C comma deep coma
e then we will pass the we can say that these rows that is ABC D and E again here Mayor funding I am
not passing the this variable I am passing just ABC the old for more community let me pass small a b
c b e all these are characters.
So I will have to give them a.
So there will be strings no one common mistakes students do defining this thing and they do this thing
all the time.
Here count the number of elements we have four elements.
So we are going to have four columns.
Here we have five lists.
So here we are going to have five rows.
So number of list number of rows.
So just after the data you need to have same number of characters or whatever your index is as you have
a number of lists.
After that you will pass columns that is like
W X Y and Z.
Now here these four stands for all the four elements of every list.
That is the columns.
Now if you have written and tried to print def that is DFA him you will get this thing.
This is a data thing W X Y Z the columns ABC the E then draws.
And here you have all the list element here.
One two three four five six seven eight.
Most of these students do this mistake like on this one.
They first write the column and then they own more much understanding then this one is they do this
thing like they defined this one up to B and add another string here and that is there is something
like Here we have five rows ABC.
So they go for this one and then you do this thing you will get added that error is denoting like you
have more number of in columns and less number of indexes compared to the data.
So make sure this one here.
The things are changing here via humans.
Now here we go with this one.
So here is of a data free.
So this is how you can create a data frame.
There are few more things or a few basic things that by a bit you can create a different.
That is why using the random numbers any random data but I pray for you to go for selective data lists
to study the data frames.
But one thing that I have discovered here that is out of slaves once in a video I have told you that
by we cannot print the images.
So here I go that how you can print images.
So just press control come on and spacebar you will get images there.
You can add any of these images like this one here and one more thing.
This one is a string you need to pass the course there.
If you try to pass like this thing she read and enter.
She saw the issue of freedom.
You will get the index header this invalid character identifier.
So that's all you can also print the more Jews in your code.
And I think this one is the thing that is taught only in this course.
No one is going to teach you how to print the images.
So no.
That thing this is very important.
And then with these data frames with the images you can also do something like that.
We have some fun there.
That is
the thing here.
Here I have this one
why it's not getting the So here we go with this one and just another one.
What's this.
So let we have something like a monkey and then we have
another thing that is any and Chip.
One more thing.
Now if you do this thing you will get it because these are strings again.
So make sure to pass these things there.
So here we have this one.
Then again courts
and just copy despite.
Come on.
See.
Come on V.
And two more to go.
Come on V.
Come on V then.
Here we go.
We had a different kind of data frame.
That is something you are never going to create.
And I believe none of you have created this one.
So you can also analyze the data that these are the good one normal one.
Horses for stronger one and takes for a new one.
So in order for the data frames and visually the frames that denote some symbols.
So thanks for watching.
And you can also do these things see in the next video.