1 00:00:05,750 --> 00:00:09,920 Here even in the last video we have covered creating the data. 2 00:00:09,920 --> 00:00:16,720 Now we will cover input categories and the little interface with the main function so here we have the 3 00:00:16,720 --> 00:00:18,030 Jupiter notebooks. 4 00:00:18,060 --> 00:00:23,700 We will begin here with showing that what is the data frame created by the user. 5 00:00:23,860 --> 00:00:25,150 We have some more sense here. 6 00:00:25,870 --> 00:00:26,680 So here. 7 00:00:26,680 --> 00:00:41,050 First I will write print and then I will pass humor data frame had is given below. 8 00:00:41,050 --> 00:00:50,810 Check the columns to float and then bus something like using cufflinks. 9 00:00:50,820 --> 00:00:57,000 Dave we had this one and then we will print the head of the data so that user will get a little idea 10 00:00:57,000 --> 00:00:57,520 of detail. 11 00:00:58,010 --> 00:01:00,760 So here we have this one and we go with this. 12 00:01:02,640 --> 00:01:06,510 For short let me just demo this one for a while. 13 00:01:08,380 --> 00:01:17,030 Maybe go now after this one I did ask the user that what kind of plot does he take why does he need 14 00:01:17,030 --> 00:01:20,480 to put all the data will it just need to put few columns. 15 00:01:20,480 --> 00:01:27,680 So what kind of bloat you need. 16 00:01:28,520 --> 00:01:43,140 And then something like what kind of boat you need to complete data upload code golems blocked. 17 00:01:43,160 --> 00:01:44,530 Then we have this one. 18 00:01:44,570 --> 00:01:50,330 After that we will pass a variable get that is denoting category. 19 00:01:50,330 --> 00:01:53,400 Then this one is input. 20 00:01:53,540 --> 00:02:10,920 Press 1 for floating all data all we can see all columns or press 2 for specifying 21 00:02:13,080 --> 00:02:14,990 columns to load. 22 00:02:15,000 --> 00:02:17,080 You can add any kind of come on. 23 00:02:17,400 --> 00:02:25,290 Then we have gathered this one as an input get because the input is a string type function. 24 00:02:25,740 --> 00:02:31,680 So here we have this one now and in danger maybe over deadpan. 25 00:02:31,930 --> 00:02:35,650 And if I didn't get it we had this one. 26 00:02:35,790 --> 00:02:38,410 One. 27 00:02:38,440 --> 00:02:40,990 So this is about the function. 28 00:02:40,990 --> 00:02:42,670 And now what will I do. 29 00:02:42,670 --> 00:02:46,130 I will call the main function on get. 30 00:02:46,780 --> 00:02:51,480 Which will provide me the output and what the main function is. 31 00:02:51,750 --> 00:02:54,370 Let me be defined here. 32 00:02:55,300 --> 00:02:57,810 And depend on travel pass areas also get. 33 00:02:57,910 --> 00:03:00,070 You can use a different parameter if you want to. 34 00:03:01,150 --> 00:03:07,470 And it will be like the one that is shown in the last here. 35 00:03:07,480 --> 00:03:14,620 This thing this whole like select the type of proto you want to enter all these things. 36 00:03:14,620 --> 00:03:21,190 So here I will define all that things like if the get equal to one in case user want to upload all the 37 00:03:21,190 --> 00:03:22,380 data. 38 00:03:22,470 --> 00:03:32,260 Then here I will provide all the plots available for data like first I will pass print like selecting 39 00:03:32,320 --> 00:03:33,370 one of them. 40 00:03:33,670 --> 00:03:51,310 Select the type of node you need to upload by writing 1 2 6. 41 00:03:51,310 --> 00:03:52,750 Maybe you have six options here. 42 00:03:53,470 --> 00:04:01,010 After that print this one one and the one is the line plot. 43 00:04:01,300 --> 00:04:16,180 Then print the second one which is a scatter plot maybe have set a plot and we had this one. 44 00:04:16,180 --> 00:04:26,540 After that we will print the third one that is the map plot and unfold. 45 00:04:26,560 --> 00:04:31,360 We have is to cram so heavy air for both his to ground 46 00:04:35,470 --> 00:04:37,830 and you can also add more plots here. 47 00:04:38,320 --> 00:04:42,520 According to your requirement you can also add by charts. 48 00:04:42,540 --> 00:04:44,390 Now here we have 51. 49 00:04:44,620 --> 00:04:46,020 That is the box plot. 50 00:04:48,670 --> 00:04:58,590 And now we are meeting with this office one lady only did 1 6 dot so face plot. 51 00:04:58,720 --> 00:05:01,230 There we go with that one now. 52 00:05:01,600 --> 00:05:04,090 These are the options available to the user. 53 00:05:04,570 --> 00:05:09,530 Now user will enter something and we need to take care that what the user enter. 54 00:05:09,670 --> 00:05:14,600 Between 4 and 2 6 so we will take that into a variable plot. 55 00:05:14,860 --> 00:05:18,810 That is the input by the user that is input here. 56 00:05:19,480 --> 00:05:22,330 And again this thing is going to be a string when input. 57 00:05:22,750 --> 00:05:25,830 So kind of like this one also into an input into. 58 00:05:26,560 --> 00:05:33,680 David go with that one and then we have our output based on the value that user specified. 59 00:05:33,880 --> 00:05:35,960 And that will be something like. 60 00:05:36,070 --> 00:05:41,250 Main function is of a floater for bloating the program that I'm calling here. 61 00:05:41,440 --> 00:05:48,880 Then it will blow the data according to the value block if it is 3 then I will pass the t value to the 62 00:05:48,880 --> 00:05:51,970 plot function that I'm going to define here. 63 00:05:53,280 --> 00:05:58,580 So here I have blocked off using value block them. 64 00:05:59,130 --> 00:06:02,850 So I'm passing the same parameter that I'm using the variables again. 65 00:06:02,910 --> 00:06:08,940 They may or may not be same so he'll vindicate equal to 1. 66 00:06:09,270 --> 00:06:15,890 The plotter will work here for that in case they get equal to 2. 67 00:06:15,900 --> 00:06:16,790 So here we have. 68 00:06:16,950 --> 00:06:28,230 And if then get equal to equal to to what will happen in that case we will again pass print Select and 69 00:06:28,230 --> 00:06:31,460 Select this whole currency. 70 00:06:31,620 --> 00:06:40,170 Come on we and that one this one this one and this one seven because we are going to have seven plots 71 00:06:40,170 --> 00:06:41,250 here. 72 00:06:41,250 --> 00:06:44,670 After that these values will be same. 73 00:06:44,670 --> 00:06:51,210 So just come on C and come on read them then also pass the 71. 74 00:06:51,240 --> 00:06:53,560 That is D 7. 75 00:06:54,070 --> 00:06:54,830 Don't. 76 00:06:54,930 --> 00:06:59,060 And then that is double. 77 00:07:00,500 --> 00:07:07,650 David had the son then then function have the value of get then either it will go to this one or this 78 00:07:07,650 --> 00:07:09,370 one or the adds condition. 79 00:07:09,380 --> 00:07:15,560 There is no third condition or it will not go to two condition if one is satisfied like when it is satisfied. 80 00:07:15,810 --> 00:07:19,280 It will not go not go to this one when this one is satisfied. 81 00:07:19,320 --> 00:07:21,090 It will not go inside of this one. 82 00:07:21,900 --> 00:07:30,850 So here we can use the same variable plot that will be end and input. 83 00:07:30,900 --> 00:07:34,800 Then we have a output based on the plot value. 84 00:07:35,120 --> 00:07:37,150 And then again we will call Pluto. 85 00:07:37,460 --> 00:07:42,930 But here this time Pluto 2 because the function for this one and this one is a little different. 86 00:07:44,130 --> 00:07:46,800 So all values plotted to blow them. 87 00:07:47,520 --> 00:07:55,590 And now we need to define plotter who's working is to load the values according to the ones selected 88 00:07:55,590 --> 00:07:57,660 by user. 89 00:07:57,660 --> 00:08:05,000 So this is about the second one as in that case and use it into something from like 3 4. 90 00:08:05,010 --> 00:08:17,120 And any string value that in that case just print plays and one of 2 and try again. 91 00:08:17,120 --> 00:08:17,700 There you go. 92 00:08:18,990 --> 00:08:23,670 Now shifted on day we have a function. 93 00:08:23,670 --> 00:08:30,090 So this is a main function with of which will perform diverting when the user will input any value to 94 00:08:30,090 --> 00:08:36,520 get it will select that value and choose whether it's 1 or 2 like you sort of need to plot all the data 95 00:08:36,520 --> 00:08:44,370 at once or use a need to plot according to some specified columns then it will go inside the one that 96 00:08:44,370 --> 00:08:51,120 is specified by using cat and then it will again take input from user denoting these six or these 7 97 00:08:51,120 --> 00:08:58,310 values whatever the value selected by the user will be saved in a variable plot in integer form that 98 00:08:58,300 --> 00:09:04,080 value value will be passed to the function that is plot or plot or two that actually plots the value 99 00:09:04,770 --> 00:09:10,760 on that particular plot that is selected by you so then it will provide that output. 100 00:09:10,760 --> 00:09:16,200 Here we have both the output in the condition when it fails it will just show that try it again. 101 00:09:17,190 --> 00:09:24,510 So this is what they sell Hayes and let me delete this ex just let it go. 102 00:09:24,630 --> 00:09:26,670 Now we just need to define these two functions. 103 00:09:26,670 --> 00:09:32,190 That is Pluto and Pluto which are our main backbone of program. 104 00:09:32,190 --> 00:09:38,130 These are easy up to this point and we will cover these two in the next videos. 105 00:09:38,130 --> 00:09:40,080 So thanks for watching. 106 00:09:40,190 --> 00:09:41,660 Continued the next video.