1 00:00:00,330 --> 00:00:06,390 Hello, all before going ahead in this session, let's have a quick recap of what we all have done in 2 00:00:06,390 --> 00:00:07,960 this project till now. 3 00:00:07,980 --> 00:00:13,710 So starting from day to day, importing data, cleaning it up, processing this group map, which is 4 00:00:13,710 --> 00:00:15,840 exactly my spatial analysis. 5 00:00:16,050 --> 00:00:23,580 And despite your box plot, this line chart be what they were, different kind of relationship, different 6 00:00:23,580 --> 00:00:25,710 kinds of analysis, all that still. 7 00:00:26,250 --> 00:00:31,950 So in this session, we have this assignment, which is exactly my last session and this last assignment 8 00:00:31,950 --> 00:00:32,830 for this project. 9 00:00:32,940 --> 00:00:40,110 So the very first assignment that we have to deal with that is exactly what is my price per night and 10 00:00:40,110 --> 00:00:42,200 person based on booking. 11 00:00:42,210 --> 00:00:47,470 And so you have to analyze this policy statement and you have to come up with some conclusion. 12 00:00:47,850 --> 00:00:55,510 So here, let's say if on this cleaned it up, if own this clean data, if I'm going to call my columns 13 00:00:55,530 --> 00:00:56,160 over there. 14 00:00:56,760 --> 00:00:58,970 So here you will observe over here. 15 00:00:59,040 --> 00:01:02,400 Here you have all the columns as market segment. 16 00:01:02,400 --> 00:01:06,510 This is Edir and this reserved room time. 17 00:01:06,630 --> 00:01:14,370 It means you have to analyze the distribution or against the price distribution of each and every category 18 00:01:14,370 --> 00:01:19,180 of market segment having different different reserved room type. 19 00:01:19,470 --> 00:01:26,250 So here either you can use distribution plot, but I'm going to use my fancy cloth, which is exactly 20 00:01:26,250 --> 00:01:27,840 my box plot. 21 00:01:28,110 --> 00:01:34,650 So for this, I'm going to say let's say either you can use Barcott or because in such scenarios, Bartra 22 00:01:34,650 --> 00:01:35,550 can be very handy. 23 00:01:35,880 --> 00:01:39,270 So here I'm going to say S.A.S. dot ba plot. 24 00:01:39,270 --> 00:01:45,240 And in this bar plot, if you will pass shiftless tab, you will get all the documentation of this function. 25 00:01:45,870 --> 00:01:50,560 So X value data, order and order and all these things. 26 00:01:50,910 --> 00:02:00,660 So on this X axis, let's say, I have to say it is exactly my market segment and definitely on line. 27 00:02:00,690 --> 00:02:08,250 I just need my price, which is exactly my ADR and definitely on in this huge parameter. 28 00:02:08,520 --> 00:02:14,210 I have this reserved the room underscore type, which is exactly this. 29 00:02:14,430 --> 00:02:17,200 So just copy, just paste over here. 30 00:02:17,790 --> 00:02:18,710 Nothing fancy. 31 00:02:19,860 --> 00:02:28,140 And after it, in your data frame, you have this all clean and a score data and there are tons of parameters 32 00:02:28,140 --> 00:02:29,490 that you can play with that. 33 00:02:29,520 --> 00:02:34,080 So just execute it and it will show you this Liswood. 34 00:02:34,290 --> 00:02:38,040 But still that looks very messy, literally very messy. 35 00:02:38,040 --> 00:02:40,940 So in such case, you can set your own side. 36 00:02:41,520 --> 00:02:45,500 So I'm going to say BLT dot of finger. 37 00:02:45,720 --> 00:02:51,750 And here I have a parameter, which is my fixie and I'm going to set my own phagocytes sides are on 38 00:02:52,050 --> 00:02:54,190 the underside of twenty cross ten. 39 00:02:54,450 --> 00:03:00,810 So again, executed and it will take some couple of seconds depending upon what its specifications you 40 00:03:00,810 --> 00:03:01,230 have. 41 00:03:01,260 --> 00:03:04,160 So this is exactly that bar plot that you need. 42 00:03:04,170 --> 00:03:06,330 You will see you will see over here. 43 00:03:06,330 --> 00:03:08,900 This is exactly that label that you have assigned. 44 00:03:09,180 --> 00:03:12,740 And here you have all the different different kind of market segment. 45 00:03:13,320 --> 00:03:17,440 Let's say I'm going to conclude for, let's say this or this online. 46 00:03:17,820 --> 00:03:24,180 So in this line, you will of over here this pinkish and it's pinkish with respect to this edge type, 47 00:03:24,180 --> 00:03:31,860 it means whenever a person is going to book via online, he or she may be opt for this Category two. 48 00:03:31,890 --> 00:03:37,730 So that's a type of analysis you can fetch from all these different different type of board charts. 49 00:03:38,310 --> 00:03:45,320 So let's go ahead with our next honoree statement, which is exactly how many bookings were canceled. 50 00:03:45,600 --> 00:03:47,340 So it means I need the data. 51 00:03:47,640 --> 00:03:51,240 We are my all bookings are cancelled bookings. 52 00:03:51,240 --> 00:03:56,100 So for this, I'm going to say data of is on this call. 53 00:03:56,220 --> 00:03:58,940 Cancel it, Callicles, to one. 54 00:03:58,950 --> 00:04:00,420 So this exact may filter. 55 00:04:00,420 --> 00:04:06,350 I have to pass this filter in my little frame so that I have my filter data from next year. 56 00:04:06,360 --> 00:04:10,190 I would say its name is canceled and just executed. 57 00:04:10,200 --> 00:04:16,800 And in this data frame, let's say if I am going to call, I had to show you how this data frame looks 58 00:04:16,800 --> 00:04:17,010 like. 59 00:04:17,010 --> 00:04:22,730 You will see you have all entries with respect to this one in this is canceled. 60 00:04:22,920 --> 00:04:29,420 Now, in this tantlinger frame, you need a data frame or you can say you need a separate value. 61 00:04:29,440 --> 00:04:29,840 Yeah. 62 00:04:30,030 --> 00:04:37,650 How many resort hotels for which bookings are canceled and how many cities hotel for which my bookings 63 00:04:37,650 --> 00:04:38,330 are canceled. 64 00:04:38,670 --> 00:04:47,010 So for this, I'm going to see my cancel all four hotel very first to have to access this hotel. 65 00:04:47,310 --> 00:04:53,070 And in this hotel you are going to say do nothing but my this resort hotel. 66 00:04:53,070 --> 00:04:58,620 I just copy from here and here you are going to say it is exactly my resort hotel. 67 00:04:58,620 --> 00:04:59,860 So this is exactly my filter. 68 00:05:00,470 --> 00:05:08,570 I have to pass this filter, just my data frame, and on this, what I am going to do, I'm just going 69 00:05:08,570 --> 00:05:11,290 to call land of it. 70 00:05:11,810 --> 00:05:19,490 So it will exactly give me some value, which is nothing but my total number of resort hotel bookings 71 00:05:19,490 --> 00:05:22,330 that gets canceled in a similar way. 72 00:05:22,340 --> 00:05:25,890 You can compute it for like a city hotel. 73 00:05:26,180 --> 00:05:30,350 So here I am going to say it is nothing but my city hotel. 74 00:05:30,680 --> 00:05:36,570 So it is nothing but my city would have just executed this is that value with respect to your city hotel. 75 00:05:37,020 --> 00:05:41,120 Now, let's say I have to plot this this value. 76 00:05:41,330 --> 00:05:43,220 Let's say I'm going to use my bank. 77 00:05:43,220 --> 00:05:47,840 Chad, whatever you want to use, you can also go ahead with your budget or whatever you want. 78 00:05:47,850 --> 00:05:48,620 It's all up to you. 79 00:05:49,340 --> 00:05:51,440 So let's say I'm going to use my pie chart. 80 00:05:51,440 --> 00:05:53,990 So I'm going to say my stop by here. 81 00:05:53,990 --> 00:05:57,060 I am going to say my values parameter. 82 00:05:57,060 --> 00:06:02,400 So my values parameter in this value is I'm going to say the very first values is this one. 83 00:06:02,870 --> 00:06:04,910 So just to copy, just to paste. 84 00:06:05,420 --> 00:06:07,070 And similarly for this one. 85 00:06:07,070 --> 00:06:08,240 Just to copy. 86 00:06:08,780 --> 00:06:09,770 Just to paste. 87 00:06:10,230 --> 00:06:13,190 And after it you have some names. 88 00:06:13,400 --> 00:06:15,520 So in names you have nothing. 89 00:06:15,710 --> 00:06:18,320 Let's say the very first name is the thing. 90 00:06:18,320 --> 00:06:24,770 But my let's say Orridge underscore cancellations. 91 00:06:25,790 --> 00:06:29,040 The second name is exactly let's say City Hotel. 92 00:06:29,060 --> 00:06:33,740 S.H. underscore cancellations after it. 93 00:06:33,740 --> 00:06:39,230 What you have to do, you can play with some multiple parameters in this class, multiple parameters. 94 00:06:39,230 --> 00:06:40,280 You will see one here. 95 00:06:40,610 --> 00:06:43,300 How much number of parameters, classes. 96 00:06:43,940 --> 00:06:46,250 So I'm just going to execute it. 97 00:06:46,290 --> 00:06:48,920 This is that visual that you exactly need. 98 00:06:49,130 --> 00:06:56,330 You will see almost seventy five percent of cancel booking are with respect to this Hotel City hotel, 99 00:06:56,330 --> 00:07:02,000 whereas this twenty five percent are with respect to this, this resort hotel bookings. 100 00:07:02,180 --> 00:07:07,760 And this third problem statement will exactly will be your assignment that you have to sort. 101 00:07:08,360 --> 00:07:09,730 That's all about this project. 102 00:07:09,770 --> 00:07:11,590 Hope you love this project very much. 103 00:07:11,600 --> 00:07:13,150 Can you have a nice day? 104 00:07:13,160 --> 00:07:14,060 Keep learning. 105 00:07:14,060 --> 00:07:15,860 Keep growing, keep practicing.