1 00:00:06,060 --> 00:00:06,970 Hey everyone. 2 00:00:07,050 --> 00:00:09,690 So in the last few days we have covered the cities in the studio. 3 00:00:09,690 --> 00:00:18,120 We are going to cover the data frames so generally in my opinion data plumes are just defames of cities 4 00:00:18,210 --> 00:00:23,600 or we can see that a number of cities with sharing common index. 5 00:00:23,960 --> 00:00:27,370 That's what you are going to know here. 6 00:00:27,510 --> 00:00:30,870 That is the first let me have few lists. 7 00:00:30,930 --> 00:00:43,320 That is something like first I have a diskette really and this one one two three and four then I have 8 00:00:43,410 --> 00:00:43,840 the 9 00:00:46,930 --> 00:01:05,980 five six seven eight 10 C 9 0 1 2 then the this one me let me capitalize this one and this one also 10 00:01:07,060 --> 00:01:17,530 then we have a deal that will be one two three four five and six then we have e this one equal to seven 11 00:01:17,650 --> 00:01:20,410 eight nine and again zero. 12 00:01:20,620 --> 00:01:21,010 That's it. 13 00:01:21,760 --> 00:01:29,300 Now to define the data frame we just use but let we have a variable that is deaths. 14 00:01:29,380 --> 00:01:35,950 Who did everything in a common variable for the difference and we do something like baby don't and just 15 00:01:35,950 --> 00:01:42,220 like series here we write data frames in which these capital and F is also capital in frame. 16 00:01:42,220 --> 00:01:45,140 So make should be an effort to capitalize. 17 00:01:45,150 --> 00:01:48,700 Then we have here we will define. 18 00:01:48,700 --> 00:01:56,820 If you just press shift tab you will get the option that first you define data that indexed in columns. 19 00:01:57,010 --> 00:02:07,200 So here first you will need to have the data and other data is going to be a list and not a single list. 20 00:02:07,210 --> 00:02:14,110 All these lists in a single list because a data frame consists of many list as I have told you frame 21 00:02:14,110 --> 00:02:15,610 of cities. 22 00:02:15,610 --> 00:02:24,430 So this one is going to have many cities and we just try to hit a common be comma C comma deep coma 23 00:02:24,540 --> 00:02:39,010 e then we will pass the we can say that these rows that is ABC D and E again here Mayor funding I am 24 00:02:39,010 --> 00:02:47,500 not passing the this variable I am passing just ABC the old for more community let me pass small a b 25 00:02:47,590 --> 00:02:50,710 c b e all these are characters. 26 00:02:51,010 --> 00:02:55,270 So I will have to give them a. 27 00:02:55,300 --> 00:03:05,330 So there will be strings no one common mistakes students do defining this thing and they do this thing 28 00:03:05,510 --> 00:03:07,520 all the time. 29 00:03:07,520 --> 00:03:12,110 Here count the number of elements we have four elements. 30 00:03:12,320 --> 00:03:15,310 So we are going to have four columns. 31 00:03:15,850 --> 00:03:17,850 Here we have five lists. 32 00:03:17,870 --> 00:03:20,460 So here we are going to have five rows. 33 00:03:20,480 --> 00:03:25,350 So number of list number of rows. 34 00:03:25,400 --> 00:03:32,610 So just after the data you need to have same number of characters or whatever your index is as you have 35 00:03:32,610 --> 00:03:34,030 a number of lists. 36 00:03:34,040 --> 00:03:37,130 After that you will pass columns that is like 37 00:03:39,920 --> 00:03:48,080 W X Y and Z. 38 00:03:48,170 --> 00:03:54,230 Now here these four stands for all the four elements of every list. 39 00:03:54,230 --> 00:03:55,760 That is the columns. 40 00:03:55,760 --> 00:04:02,790 Now if you have written and tried to print def that is DFA him you will get this thing. 41 00:04:02,900 --> 00:04:09,700 This is a data thing W X Y Z the columns ABC the E then draws. 42 00:04:09,710 --> 00:04:12,170 And here you have all the list element here. 43 00:04:12,170 --> 00:04:14,740 One two three four five six seven eight. 44 00:04:14,870 --> 00:04:20,150 Most of these students do this mistake like on this one. 45 00:04:20,150 --> 00:04:30,950 They first write the column and then they own more much understanding then this one is they do this 46 00:04:30,950 --> 00:04:38,720 thing like they defined this one up to B and add another string here and that is there is something 47 00:04:38,720 --> 00:04:42,350 like Here we have five rows ABC. 48 00:04:42,530 --> 00:04:49,580 So they go for this one and then you do this thing you will get added that error is denoting like you 49 00:04:49,580 --> 00:04:56,300 have more number of in columns and less number of indexes compared to the data. 50 00:04:56,300 --> 00:05:00,550 So make sure this one here. 51 00:05:01,080 --> 00:05:05,290 The things are changing here via humans. 52 00:05:05,930 --> 00:05:08,080 Now here we go with this one. 53 00:05:08,120 --> 00:05:10,330 So here is of a data free. 54 00:05:10,910 --> 00:05:13,580 So this is how you can create a data frame. 55 00:05:13,580 --> 00:05:17,950 There are few more things or a few basic things that by a bit you can create a different. 56 00:05:17,960 --> 00:05:25,760 That is why using the random numbers any random data but I pray for you to go for selective data lists 57 00:05:25,940 --> 00:05:27,660 to study the data frames. 58 00:05:28,170 --> 00:05:34,080 But one thing that I have discovered here that is out of slaves once in a video I have told you that 59 00:05:34,380 --> 00:05:36,800 by we cannot print the images. 60 00:05:36,800 --> 00:05:40,190 So here I go that how you can print images. 61 00:05:40,220 --> 00:05:47,080 So just press control come on and spacebar you will get images there. 62 00:05:47,390 --> 00:05:53,190 You can add any of these images like this one here and one more thing. 63 00:05:53,190 --> 00:05:57,540 This one is a string you need to pass the course there. 64 00:05:57,780 --> 00:06:04,730 If you try to pass like this thing she read and enter. 65 00:06:04,800 --> 00:06:06,280 She saw the issue of freedom. 66 00:06:06,290 --> 00:06:10,530 You will get the index header this invalid character identifier. 67 00:06:10,880 --> 00:06:14,570 So that's all you can also print the more Jews in your code. 68 00:06:14,750 --> 00:06:18,050 And I think this one is the thing that is taught only in this course. 69 00:06:18,050 --> 00:06:20,540 No one is going to teach you how to print the images. 70 00:06:20,840 --> 00:06:21,190 So no. 71 00:06:21,190 --> 00:06:23,270 That thing this is very important. 72 00:06:23,270 --> 00:06:29,660 And then with these data frames with the images you can also do something like that. 73 00:06:29,660 --> 00:06:32,450 We have some fun there. 74 00:06:32,450 --> 00:06:32,960 That is 75 00:06:35,840 --> 00:06:37,120 the thing here. 76 00:06:37,510 --> 00:06:38,780 Here I have this one 77 00:06:41,750 --> 00:06:51,790 why it's not getting the So here we go with this one and just another one. 78 00:06:53,710 --> 00:06:54,840 What's this. 79 00:06:54,880 --> 00:06:59,790 So let we have something like a monkey and then we have 80 00:07:02,690 --> 00:07:11,180 another thing that is any and Chip. 81 00:07:13,280 --> 00:07:13,810 One more thing. 82 00:07:13,820 --> 00:07:18,560 Now if you do this thing you will get it because these are strings again. 83 00:07:18,620 --> 00:07:21,260 So make sure to pass these things there. 84 00:07:23,690 --> 00:07:26,860 So here we have this one. 85 00:07:27,410 --> 00:07:29,060 Then again courts 86 00:07:34,370 --> 00:07:37,440 and just copy despite. 87 00:07:37,610 --> 00:07:38,080 Come on. 88 00:07:38,090 --> 00:07:40,280 See. 89 00:07:40,620 --> 00:07:42,840 Come on V. 90 00:07:42,840 --> 00:07:44,430 Come on V. 91 00:07:44,730 --> 00:07:46,170 And two more to go. 92 00:07:46,170 --> 00:07:47,520 Come on V. 93 00:07:48,090 --> 00:07:50,340 Come on V then. 94 00:07:50,580 --> 00:07:51,400 Here we go. 95 00:07:51,720 --> 00:07:54,240 We had a different kind of data frame. 96 00:07:54,300 --> 00:07:56,060 That is something you are never going to create. 97 00:07:56,070 --> 00:07:58,610 And I believe none of you have created this one. 98 00:07:59,370 --> 00:08:05,470 So you can also analyze the data that these are the good one normal one. 99 00:08:05,470 --> 00:08:08,410 Horses for stronger one and takes for a new one. 100 00:08:08,540 --> 00:08:14,230 So in order for the data frames and visually the frames that denote some symbols. 101 00:08:14,270 --> 00:08:15,130 So thanks for watching. 102 00:08:15,560 --> 00:08:19,490 And you can also do these things see in the next video.