1 00:00:00,300 --> 00:00:07,500 Well, before going deep dive into the session, let's have a quick overview of what we all have done 2 00:00:07,500 --> 00:00:09,910 from all our initial session. 3 00:00:10,470 --> 00:00:16,470 So from doing lots of analysis, doing lots of preprocessing, doing lots of cleaning on our data, 4 00:00:16,950 --> 00:00:23,490 we have represented some of the meaningful inside the scorable at this box plot by the line chart. 5 00:00:23,820 --> 00:00:31,650 And definitely we have found what exactly that relationship between our special request and in this 6 00:00:31,680 --> 00:00:33,030 is canceled feature. 7 00:00:33,120 --> 00:00:35,130 So we have analyzed all these things. 8 00:00:35,430 --> 00:00:38,160 So in this particular session, we have this assignment. 9 00:00:38,610 --> 00:00:44,640 The very first problem statement is which are a busy month or I can see which are the busiest month 10 00:00:44,850 --> 00:00:47,570 in which I can say our engagement. 11 00:00:47,790 --> 00:00:49,540 My guests are high. 12 00:00:50,040 --> 00:00:55,800 So you have to analyze it or you can say you can find some in data so that you can come up with some 13 00:00:55,800 --> 00:00:56,590 conclusion. 14 00:00:56,970 --> 00:01:01,770 So let's see what I'm going to do, let's say in the data frame that we have already fetch, which is 15 00:01:01,770 --> 00:01:04,630 exactly my data on the school resource. 16 00:01:04,680 --> 00:01:09,210 I'm just going to call ahead over there so that I will have some preview of my data frame. 17 00:01:09,750 --> 00:01:12,660 So you will see this is exactly the data frame. 18 00:01:13,020 --> 00:01:21,030 And on this, if I'm going to say let's say here I have a feature, which is exactly my arrival in the 19 00:01:21,040 --> 00:01:22,250 school during the school month. 20 00:01:22,620 --> 00:01:27,120 So I'm just going to say in this data underscore resort. 21 00:01:27,510 --> 00:01:33,450 So very first I have to exit this data frame and in these very close, I have to say I have to exit 22 00:01:33,460 --> 00:01:34,020 this one. 23 00:01:34,380 --> 00:01:40,740 And here I'm just going to call my counselor here and just execute. 24 00:01:40,740 --> 00:01:44,040 You will see with respect to all, you have that much going on. 25 00:01:44,370 --> 00:01:49,290 Similarly, with respect to all of that, once you have that much year, I have to convert that into 26 00:01:49,290 --> 00:01:49,920 a bit of fame. 27 00:01:50,340 --> 00:01:53,930 So I'm just going to call my research on a school index just executer. 28 00:01:53,980 --> 00:02:00,450 This is that beautiful little frame that you need, but still, you have to do a lot of manipulation 29 00:02:00,450 --> 00:02:00,940 in your data. 30 00:02:01,320 --> 00:02:07,770 You have to do a lot of reporting in this data frame because, you know, this this index that is not 31 00:02:07,770 --> 00:02:08,870 my exact column. 32 00:02:08,880 --> 00:02:11,230 It means you have to modify your column as well. 33 00:02:11,520 --> 00:02:16,470 And after that, you have to provide right hierarchy in your data because you will observe here, you 34 00:02:16,470 --> 00:02:23,240 will have all this July, October, all these data, which is not an appropriate hierarchy. 35 00:02:23,250 --> 00:02:24,450 The thought is very first. 36 00:02:24,450 --> 00:02:26,730 I have to store this data from somewhere else. 37 00:02:26,730 --> 00:02:30,510 So I'm just going to name, let's say, Rush underscore result. 38 00:02:30,570 --> 00:02:36,270 It's all up to you, whatever name you want to assign after I have to assign my own column names for 39 00:02:36,270 --> 00:02:38,400 this, I'm going to say dot columns. 40 00:02:38,400 --> 00:02:43,140 It goes to nothing but the very first column that I want to assign exactly my month. 41 00:02:43,570 --> 00:02:50,730 And with this arrival statement, I'm going to say to nothing but my number of guest or whatever you 42 00:02:50,730 --> 00:02:51,330 want to assign. 43 00:02:51,810 --> 00:02:57,650 And after that, what I'm going to do, I'm just going to print my data, suggest executer this is a 44 00:02:57,660 --> 00:03:02,280 date of indefinite, but still you have to do a lot of calculation of what your data say. 45 00:03:03,450 --> 00:03:11,810 Similarly, what you can do, you can do similar operations for use data, underscore city data frame 46 00:03:12,360 --> 00:03:18,100 because you have to find a trend for you have to find a trend for the city data frame as well. 47 00:03:18,330 --> 00:03:20,160 So I'm just going to copy this. 48 00:03:20,220 --> 00:03:22,440 Let let me just copy all the cells. 49 00:03:22,440 --> 00:03:24,840 Let me page to it there and here. 50 00:03:24,840 --> 00:03:28,590 I'm just going to say this is nothing but my city. 51 00:03:28,950 --> 00:03:32,540 And here I'm going to say this is nothing but my city. 52 00:03:33,150 --> 00:03:39,330 Similarly, over here, this is nothing but my city and this is also just my city. 53 00:03:39,780 --> 00:03:47,640 And just executer this is added of with respect to your city data from city hotel data after it, what 54 00:03:47,640 --> 00:03:53,010 you have to do, you have too much what the data on the basis of this common column. 55 00:03:53,310 --> 00:04:00,980 So I'm just going to say it underscore resort dot much and if you will, past shift plus tab over here. 56 00:04:00,990 --> 00:04:03,540 Let me correct this function name. 57 00:04:03,540 --> 00:04:07,620 And if you address shift plus time, you will see all the documentation of this function. 58 00:04:08,160 --> 00:04:12,560 So my right the frame is nothing but my rash on this score. 59 00:04:13,500 --> 00:04:16,130 And here you have on parameter on what column. 60 00:04:16,180 --> 00:04:17,310 This says you have to merge. 61 00:04:17,880 --> 00:04:22,520 So here I'm going to say I have to merge it on the basis of my column after it. 62 00:04:22,530 --> 00:04:24,520 Let's say I have to store it somewhere. 63 00:04:24,960 --> 00:04:30,780 Selected is nothing like my final on the score, so just execute it. 64 00:04:30,780 --> 00:04:36,720 And if I'm going to print this final score, you'll see this is exactly the data frame that you need. 65 00:04:36,720 --> 00:04:38,800 Let's say I have to manipulate my column then. 66 00:04:39,270 --> 00:04:44,940 So here I'm going to say it is I think what let's say don't columns equal to the very first column, 67 00:04:45,200 --> 00:04:47,490 starting with mine a month. 68 00:04:48,540 --> 00:04:54,660 The second goal, anything but my number of guest end result. 69 00:04:54,960 --> 00:04:56,970 Whatever you want, it's all up to you. 70 00:04:57,270 --> 00:04:58,200 The second that. 71 00:04:58,410 --> 00:04:59,310 Yeah, this. 72 00:04:59,340 --> 00:04:59,850 The third. 73 00:04:59,930 --> 00:05:09,980 And there's nothing but my number of guest in, let's say, City Hotel, and if, again, I'm just going 74 00:05:09,980 --> 00:05:12,220 to print this in a slow rush. 75 00:05:12,800 --> 00:05:14,890 So this is that manacle attitude. 76 00:05:15,350 --> 00:05:21,230 But still, you have to provide right hierarchy to this month, because if you are trying to fetch a 77 00:05:21,350 --> 00:05:26,380 conclusion from this set of frames, you will get some improper conclusory. 78 00:05:26,780 --> 00:05:34,280 So you're ready for whatever else I have created earlier with respect to this one, which is exactly 79 00:05:34,280 --> 00:05:34,460 this. 80 00:05:34,460 --> 00:05:35,030 Ezzedine. 81 00:05:35,450 --> 00:05:36,890 So I have to use this. 82 00:05:36,890 --> 00:05:44,020 I have to use this model so that you can copy it or you can use your earlier ElĂ­sabet. 83 00:05:44,090 --> 00:05:46,550 It's all up to you, so let me execute it. 84 00:05:46,550 --> 00:05:53,300 And now using this as I have to call a function, which is my short underscore it of fame by this month. 85 00:05:53,720 --> 00:06:06,410 And here I am going to say my deal is nothing but my final underscore rush and my Munt column name is 86 00:06:06,410 --> 00:06:06,740 nothing. 87 00:06:06,740 --> 00:06:10,460 But on what column basis I have to go either right hierarchy. 88 00:06:10,730 --> 00:06:13,420 So I have to provide that hierarchy in my month column. 89 00:06:13,880 --> 00:06:21,860 And here, let's say I have to update this to time would say nothing but my final rush to suggest executed. 90 00:06:21,860 --> 00:06:27,590 And if I'm going to print this windedness coalition is going to you will see this. 91 00:06:27,590 --> 00:06:29,420 Is that right? 92 00:06:29,420 --> 00:06:36,830 Had I called it a frame that you need over here now what you have to do, you have to just you have 93 00:06:36,830 --> 00:06:42,230 to just call your line over here to, like, say what I'm going to do. 94 00:06:42,410 --> 00:06:47,210 I'm just going to say B X dot line because I'm going to use my plotty model. 95 00:06:47,570 --> 00:06:54,320 You can also go ahead with some advanced stuff, like, look, are many other resolutions. 96 00:06:54,650 --> 00:06:58,060 And definitely you can also go out with McClarty and see what they are. 97 00:06:58,400 --> 00:07:05,060 If you are looking for some real world scenarios, is matplotlib and Seabourne are not going to be very 98 00:07:05,060 --> 00:07:09,980 handy because they didn't provide you with some deployment level result. 99 00:07:10,400 --> 00:07:14,700 That's why I try to go ahead with all always deployment level visual. 100 00:07:14,960 --> 00:07:18,670 Same with Brockley book and many others as well. 101 00:07:19,190 --> 00:07:27,080 So here I'm going to say, if you were start a very first parameter is exactly what is your data frame. 102 00:07:27,380 --> 00:07:30,980 So I'm just going to say my data frame is nothing but. 103 00:07:32,330 --> 00:07:42,530 My final underscore rush to yeah, and here on X-axis, I have just this month, so I'm going to say 104 00:07:42,530 --> 00:07:43,440 it is my money. 105 00:07:43,940 --> 00:07:51,760 And here on Y-axis, basically, let me just call our columns over years. 106 00:07:51,810 --> 00:07:57,830 I'm going to say fine and rush on the school to dot columns over there. 107 00:07:58,070 --> 00:08:07,040 And you will need these both columns in your data frame or in your this line functional Plotnick. 108 00:08:07,520 --> 00:08:14,660 So here I have paste all these things after what you have to do if you have to assign some titles so 109 00:08:14,660 --> 00:08:15,890 you can assign it as well. 110 00:08:15,920 --> 00:08:26,660 So I'm going to say the title is nothing but my, let's say, total number of guest per month, total 111 00:08:26,660 --> 00:08:27,930 number of gas per month. 112 00:08:28,730 --> 00:08:30,710 So just executed. 113 00:08:31,710 --> 00:08:37,040 And this is a beautiful trend that you exactly need that you all are waiting for. 114 00:08:37,430 --> 00:08:43,730 And if you have to conclude, if you have to conclude from this vision, you can see the city hotel, 115 00:08:43,880 --> 00:08:48,260 which is my this this blue, which is the trend of this blue line. 116 00:08:48,260 --> 00:08:57,800 You can see it has more guest during the spring and autumn when the prices are also highest in July 117 00:08:57,800 --> 00:09:03,230 and August, there are less visitors you will observe overhead that have less visitors. 118 00:09:03,770 --> 00:09:11,660 And although prices are also lower, whereas with this back to this this resort, you will also gas 119 00:09:11,660 --> 00:09:20,480 number for the resort hotel go down slightly from almost June to September, which is also when the 120 00:09:20,480 --> 00:09:23,340 prices are highest due to October here. 121 00:09:23,840 --> 00:09:31,730 So you would also bought hotels, have the fewest guests during the winter ahead or so that's a conclusion 122 00:09:31,970 --> 00:09:36,220 you can get from this beautiful trend, from this beautiful Zeisler. 123 00:09:36,830 --> 00:09:38,240 So that's all about decision. 124 00:09:38,250 --> 00:09:39,530 Hope you love it very much. 125 00:09:39,770 --> 00:09:40,500 Thank you. 126 00:09:40,520 --> 00:09:41,500 Have a nice day. 127 00:09:41,900 --> 00:09:42,800 Keep learning. 128 00:09:42,800 --> 00:09:43,640 Keep growing. 129 00:09:43,940 --> 00:09:44,780 Keep practicing.