1 00:00:05,830 --> 00:00:06,460 Here we went. 2 00:00:06,950 --> 00:00:14,110 So in this video we are going to be lower first function that is Pluto in which all the plots in which 3 00:00:14,110 --> 00:00:16,840 complete data is going to be plotted are done. 4 00:00:17,380 --> 00:00:22,930 So for that we stick by our data file and here I'm going to create a random data file. 5 00:00:23,200 --> 00:00:27,110 They will go with that 1 5 columns and hundred rows. 6 00:00:28,270 --> 00:00:31,140 So let's begin with this one. 7 00:00:31,720 --> 00:00:33,080 And an empty cell here. 8 00:00:33,970 --> 00:00:35,870 So first what will I do. 9 00:00:35,920 --> 00:00:37,940 I will check what's the value of note. 10 00:00:38,650 --> 00:00:43,150 If that note is fun they will have one. 11 00:00:43,780 --> 00:00:54,530 So in total we are going to have six conditions that add up to surface bloat so let me copy THIS ONE 12 00:00:56,430 --> 00:01:00,150 AND COME ON WE. 13 00:01:00,210 --> 00:01:08,930 COME ON WE David go six time genes these two two three four five and six. 14 00:01:09,360 --> 00:01:16,650 And these two Elif live so that it did not check all the conditions. 15 00:01:16,650 --> 00:01:20,820 Just stop in the condition get fulfilled and in last. 16 00:01:20,820 --> 00:01:22,020 We have else. 17 00:01:24,060 --> 00:01:28,980 So these are the six conditions that are need to be defined and deployed them in which we need to plot 18 00:01:29,040 --> 00:01:30,790 all these six plots. 19 00:01:31,080 --> 00:01:32,570 We have the data from DFA. 20 00:01:33,090 --> 00:01:34,820 First one is the line. 21 00:01:35,310 --> 00:01:37,090 So how can we plot line. 22 00:01:38,010 --> 00:01:45,280 If we have this data frame that is to have fun we can simply plot just by using a plot in case of cufflinks. 23 00:01:45,570 --> 00:01:49,970 And if you're using met probably we'll see one then use this index according to them. 24 00:01:50,400 --> 00:01:54,850 And here if I pass just get I will have this one line. 25 00:01:56,310 --> 00:02:00,300 So I just need to end this demand in this condition. 26 00:02:00,300 --> 00:02:11,730 So I will take away all that is the final plot and give this one this syntax day we had this one if 27 00:02:11,730 --> 00:02:18,820 they plot equal to one then deployed will be scatter which will be a line plot. 28 00:02:18,840 --> 00:02:21,980 Second one is of a scare over. 29 00:02:23,190 --> 00:02:29,440 So in case of a scatter plot if you notice this one sec scatter blow. 30 00:02:30,300 --> 00:02:38,610 Then we just need to pass here marker and then it will be of that kind. 31 00:02:38,620 --> 00:02:42,990 So change this mode from line to Marcus. 32 00:02:43,150 --> 00:02:46,350 So there we had this one mode and value. 33 00:02:46,510 --> 00:02:48,820 Marcus shift return. 34 00:02:48,880 --> 00:02:50,000 David go with that. 35 00:02:51,390 --> 00:03:02,830 If we need to have cross then provide symbol equal to x shifted on day we have this one last thing I 36 00:03:02,830 --> 00:03:11,740 want to add in that one that is the color scale bear so we have blue type of these. 37 00:03:11,750 --> 00:03:16,130 So David go with that one command eight and go monarchs. 38 00:03:16,280 --> 00:03:25,660 I just need to add that one here so done with the second one also third one is the bar. 39 00:03:26,590 --> 00:03:35,020 So bar plot when we need to plot all the data is again very simple the Evernote I blocked and then just 40 00:03:35,320 --> 00:03:42,240 passed the kind in bar shifted one day we have this one at the bottom. 41 00:03:43,310 --> 00:03:53,650 So the third one final plot and this one seems to be a little typical but I think you get to know here 42 00:03:53,960 --> 00:03:55,470 that this is very easy. 43 00:03:55,690 --> 00:04:01,510 We just need to pass the kind of plot when the conditions satisfy that particular point. 44 00:04:01,860 --> 00:04:04,150 Fourth one. 45 00:04:04,600 --> 00:04:14,650 Let me check which one it is so forth one is a histogram and that just require his tier shifted and 46 00:04:14,680 --> 00:04:22,020 we have his two crumbs so copy this one and pasted here. 47 00:04:22,090 --> 00:04:23,580 Then we have a fifth one. 48 00:04:24,910 --> 00:04:27,240 And I believe this one is a box bloat. 49 00:04:27,320 --> 00:04:36,620 Have so we just need to pass Heo books instead of his books. 50 00:04:36,790 --> 00:04:38,310 Davy have the books. 51 00:04:39,600 --> 00:04:41,570 So just pass here this one. 52 00:04:41,640 --> 00:04:42,400 You have fun. 53 00:04:42,400 --> 00:04:47,670 Don't I bloat kind equal to books. 54 00:04:47,680 --> 00:04:49,320 There you go. 55 00:04:49,510 --> 00:04:53,130 In last we have surfaced Bill. 56 00:04:53,260 --> 00:05:04,630 So final plot will be equal to the fun don't I plot kind equal to surface because all the values are 57 00:05:05,020 --> 00:05:05,800 numeric there. 58 00:05:06,520 --> 00:05:10,100 If you just do this one likes surface. 59 00:05:10,360 --> 00:05:11,400 David go with that one. 60 00:05:13,280 --> 00:05:22,250 Given that we have shown in the will of you so this one here we have this office Bill. 61 00:05:22,550 --> 00:05:28,910 And if the plot is equal to something else that is some of the users like enter seven eight nine ten 62 00:05:28,910 --> 00:05:35,120 hundred like something that then just final plot in that case we will not just print the value of evil 63 00:05:35,470 --> 00:05:40,300 just make the variable final plot equal to print. 64 00:05:40,910 --> 00:05:51,680 And then in print we will pass something like SELECT only between one to seven maybe two. 65 00:05:52,490 --> 00:06:01,980 And then we will just return the final plot to the function so that only this part is written and the 66 00:06:02,000 --> 00:06:04,550 working will be fine. 67 00:06:04,550 --> 00:06:05,240 David go. 68 00:06:06,110 --> 00:06:10,060 Now we have the plot them and let v have a look at this one. 69 00:06:10,780 --> 00:06:16,310 When I run my program first get one shooter done. 70 00:06:16,390 --> 00:06:21,140 David go with that one man is not defined so hate getting it. 71 00:06:21,260 --> 00:06:22,790 Because I have not run to sir. 72 00:06:23,210 --> 00:06:25,360 So let me if I strand that one. 73 00:06:25,380 --> 00:06:33,350 David go and one day we had this one shifted on one. 74 00:06:33,480 --> 00:06:34,550 David go. 75 00:06:34,700 --> 00:06:39,770 So here I'm getting the option of these six points up turning that program. 76 00:06:39,950 --> 00:06:41,930 And let me pass three there. 77 00:06:43,160 --> 00:06:45,760 David go with the code. 78 00:06:45,810 --> 00:06:50,670 Now let me have a look at Mark's block. 79 00:06:50,670 --> 00:06:55,610 David go with the box float surface. 80 00:06:55,680 --> 00:07:00,120 There you go with that one line. 81 00:07:00,310 --> 00:07:02,630 This one also looking fine. 82 00:07:02,950 --> 00:07:07,860 Scatter this one also looking fine. 83 00:07:07,860 --> 00:07:08,710 What left. 84 00:07:09,060 --> 00:07:10,490 Maybe all done. 85 00:07:10,650 --> 00:07:15,080 So this is a first but then the category is equal to one. 86 00:07:15,120 --> 00:07:17,750 Like when we need to plot all the data. 87 00:07:17,850 --> 00:07:24,840 Now when we need to plot some of the few columns that I have taken an example of only three that it's 88 00:07:24,840 --> 00:07:27,520 one column two column and three column. 89 00:07:27,600 --> 00:07:34,830 So we are going to generate a function in which we will use only up to three columns 1 2 and 3 according 90 00:07:34,830 --> 00:07:35,210 to them. 91 00:07:35,220 --> 00:07:37,170 We will plot and make the functions. 92 00:07:37,230 --> 00:07:40,260 You can put up to as many columns as you want to. 93 00:07:40,710 --> 00:07:43,210 But we are going to build up to only three. 94 00:07:43,500 --> 00:07:50,380 So you can throw that one just by making the same function like this to give it a try. 95 00:07:50,460 --> 00:07:53,430 And if you do not get that one follow the next video. 96 00:07:53,430 --> 00:07:54,540 So thanks for watching. 97 00:07:54,540 --> 00:07:55,650 I assume the next video.