1 00:00:00,180 --> 00:00:07,230 Halaal, before going deep down into the session, let's have a quick recap of what we all have done 2 00:00:07,230 --> 00:00:08,460 in our previous session. 3 00:00:08,820 --> 00:00:16,500 So we have basically performed data cleaning and data processing on our data so that we have our pre-process 4 00:00:16,500 --> 00:00:22,920 data, so that we will perform lots of analysis on data and we will come up with some beautiful insights. 5 00:00:23,330 --> 00:00:25,140 That is exactly our main goal. 6 00:00:25,860 --> 00:00:32,610 So in this session, we have this assignment in which the very first analysis we have to perform is 7 00:00:32,820 --> 00:00:35,120 where do the guest come from? 8 00:00:35,130 --> 00:00:41,640 And after it we have to perform if patient analysis in which I have to use some kind of maps, some 9 00:00:41,640 --> 00:00:47,550 kind of global maps, or if I'm going to use for some particular country, I can use some particular 10 00:00:47,550 --> 00:00:48,300 country map. 11 00:00:48,660 --> 00:00:54,710 So we have to come up with beautiful insights at the end, because that is exactly our main goal. 12 00:00:55,480 --> 00:00:55,830 Yeah. 13 00:00:56,130 --> 00:01:02,810 So, yeah, let me remind you, this is exactly Jupiter notebook and very focused what we have to do. 14 00:01:02,850 --> 00:01:09,560 Let's see if you will observe in this in this data stream in this hotel, you have two categories, 15 00:01:09,600 --> 00:01:10,380 the resort. 16 00:01:10,650 --> 00:01:13,750 And second one is exactly your city hotel. 17 00:01:14,490 --> 00:01:19,760 It means, let's say you have to perform separately for a resort hotel. 18 00:01:19,790 --> 00:01:20,240 Yeah. 19 00:01:20,790 --> 00:01:27,960 What what if a guest or what are a guest that that comes to the resort hotel and in a similar way, 20 00:01:27,960 --> 00:01:30,850 you can perform this analysis for city order. 21 00:01:31,110 --> 00:01:40,170 So it means you need to date a friend so that if I'm going to say data of hotel, data of hotel and 22 00:01:40,380 --> 00:01:46,920 in this very first condition, I have to mention is exactly my resort hotel. 23 00:01:46,920 --> 00:01:49,510 So here I'm going to say this is nothing but. 24 00:01:49,560 --> 00:01:54,450 So either you can just copy from here and I'm just going to paste over here. 25 00:01:54,720 --> 00:01:57,420 So this is exactly my very first condition. 26 00:01:57,690 --> 00:02:03,930 And my second condition is exactly let me let me put this in my very first condition. 27 00:02:03,930 --> 00:02:11,280 And after it my second condition is exactly make sure that booking must not be canceled. 28 00:02:11,610 --> 00:02:18,090 So in this, I'm going to say here I have a feature which is exactly is canceled, which is exactly 29 00:02:18,090 --> 00:02:18,520 this one. 30 00:02:18,690 --> 00:02:20,580 So this has to 011. 31 00:02:20,580 --> 00:02:26,650 So whereas you miss the booking is not going to cancel, one means that booking is going to be canceled. 32 00:02:26,850 --> 00:02:34,470 So my very second filter is right into my very second condition is exactly my data of and here I have 33 00:02:34,470 --> 00:02:35,010 to exit. 34 00:02:35,020 --> 00:02:40,930 This is on the so-called canceled column and here I have to say this must be Mitsue. 35 00:02:40,950 --> 00:02:44,100 So this is exactly my entire filter. 36 00:02:44,130 --> 00:02:50,550 So what we have to do, we have to pass this filter in my data frame, that set of what you can do, 37 00:02:50,550 --> 00:02:54,840 you can copy this and you can paste over here this time. 38 00:02:54,840 --> 00:02:58,630 I have to say, this is exactly for my city hotel. 39 00:02:58,650 --> 00:03:01,510 So I'm going to say this is exactly for my city hotel. 40 00:03:01,800 --> 00:03:07,910 So here I'm going to say this is my auditorium and let's say this is exactly my city doorframes. 41 00:03:07,920 --> 00:03:09,030 It just executed. 42 00:03:09,030 --> 00:03:14,460 And if you are going to call, let's say, ahead on your resort, you will observe. 43 00:03:14,460 --> 00:03:19,380 This is a beautiful done film that you exactly need in case of resort. 44 00:03:19,590 --> 00:03:25,290 Similarly, if on this city, I'm going to call ahead, you will see this. 45 00:03:25,290 --> 00:03:27,630 Is that in a frame with respect to city hotels? 46 00:03:28,770 --> 00:03:33,000 So let's see if I'm going to call my ship on this resort. 47 00:03:33,300 --> 00:03:38,700 Now, you will see over here, it has that much number of rules and that number of columns. 48 00:03:39,400 --> 00:03:42,570 So let's say I have to perform this analysis. 49 00:03:42,840 --> 00:03:50,010 Where do the guest come from in both my resort as well as in my city hotel for this? 50 00:03:50,010 --> 00:03:56,700 What I am going to do, let's say that you can use your eye chart or definitely you can go ahead with 51 00:03:56,700 --> 00:03:58,780 your map or any other map. 52 00:03:58,800 --> 00:04:01,790 So let's say I'm going to use my pie chart over here. 53 00:04:02,100 --> 00:04:09,230 So let's say for better visualization, you guys can go ahead with our popular model known as Blakley. 54 00:04:09,420 --> 00:04:16,560 So if you haven't installed your A system, I'm going to say you can install this using PIP installed 55 00:04:17,070 --> 00:04:21,950 properly so it will install you in your environment, whatever environment you are using. 56 00:04:22,290 --> 00:04:29,340 So after it, I'm going to say I have to just import this and I have to import this broadly as well 57 00:04:29,340 --> 00:04:31,980 as some submodular from the Spurtle. 58 00:04:32,190 --> 00:04:40,200 So I'm going to say, which is exactly my graph underscore or be G.S., which is exactly this one second 59 00:04:40,200 --> 00:04:43,370 one, and I have to create its allies as well. 60 00:04:43,380 --> 00:04:47,580 But let's say it's Aliya's I'm going to create is nothing but let's say cool. 61 00:04:47,790 --> 00:04:54,660 And after what we have to do, let's say to plot your map, you have to import something known as I 62 00:04:54,660 --> 00:04:55,010 plot. 63 00:04:55,020 --> 00:04:59,930 So I'm going to say from my this plot, I have two very first. 64 00:05:00,010 --> 00:05:07,060 Import my submodular, which is exactly my offline model, because you have to make sure that your graph 65 00:05:07,090 --> 00:05:14,410 must be visible in your offline mode because to to showcase your visual impliedly, you have to move 66 00:05:14,410 --> 00:05:16,440 either offline or online. 67 00:05:16,690 --> 00:05:21,820 So if you have to visualize your graph in your offline mode, you have to import this offline model 68 00:05:21,820 --> 00:05:23,020 and form this offline. 69 00:05:23,230 --> 00:05:28,550 You have to import something known as a plot because you have to visualize this graph in your Jupiter 70 00:05:28,570 --> 00:05:29,140 notebook. 71 00:05:29,500 --> 00:05:36,190 So after what I'm going to do, I'm just going to say import floridly DOT Xpress. 72 00:05:36,370 --> 00:05:42,730 And from this I have to create a Aliya's, which is nothing but my de'ath to just execute it. 73 00:05:42,760 --> 00:05:49,990 Now, what I'm going to do, let's say in this resort, in this resort, if I'm going to access my country 74 00:05:49,990 --> 00:05:56,500 and on this country, if I'm going to call my, let's say, value consulate to get a pound of each and 75 00:05:56,500 --> 00:06:01,540 every country, you will see with respect to this country, it has that much number of guests with respect 76 00:06:01,540 --> 00:06:02,380 to this Dibia. 77 00:06:02,650 --> 00:06:05,140 It has that much number of guest selects. 78 00:06:05,230 --> 00:06:10,380 If you have two axis country, you guys can let's say you guys can call Jostein. 79 00:06:10,390 --> 00:06:11,320 That's all there. 80 00:06:11,320 --> 00:06:13,650 So I'm just going to say do nothing with my index. 81 00:06:13,650 --> 00:06:14,710 So just executed. 82 00:06:15,010 --> 00:06:18,280 It is a list of all your countries. 83 00:06:18,490 --> 00:06:20,950 So I'm going to say to that thing with my labels. 84 00:06:21,250 --> 00:06:25,330 So this is exactly my values with respect to each and every country. 85 00:06:25,330 --> 00:06:28,120 So I'm going to store it in value, just execute it. 86 00:06:28,390 --> 00:06:35,440 And from this you have a function which is exactly by and if you will shift plus tab over here, you 87 00:06:35,440 --> 00:06:37,930 will get exactly the documentation. 88 00:06:38,170 --> 00:06:41,710 What are the parameters that you can play with that over here? 89 00:06:42,220 --> 00:06:46,150 So you will see it has a parameter, which is exactly my labels. 90 00:06:46,330 --> 00:06:53,030 So here I am going to say my label is nothing but the labels that I have defined over ABL. 91 00:06:53,110 --> 00:06:57,610 And after that what we have to do in this values parameter. 92 00:06:57,610 --> 00:07:01,550 I have to assign my whatever values I have given it. 93 00:07:01,780 --> 00:07:08,500 When I'm going to wear my mouth on my Veysel, I have to visualize data in the form of the label and 94 00:07:08,500 --> 00:07:10,180 presented for this. 95 00:07:10,180 --> 00:07:17,310 I'm going to say my Hoover in four in four is nothing but label plus percent. 96 00:07:17,350 --> 00:07:24,100 So this is exactly the data that you are going to see whenever you are going to hoover your closet on 97 00:07:24,100 --> 00:07:24,730 your visual. 98 00:07:25,210 --> 00:07:30,670 And let's say I am also going to say I want some text. 99 00:07:30,670 --> 00:07:37,810 So I'm going to say my text in four is nothing but let's say value after it, I'm going to store it 100 00:07:37,810 --> 00:07:40,180 and let's say Grace just executed. 101 00:07:40,180 --> 00:07:47,170 And now what I have to do for visualize this graph, you have to just pass it in your iPod plot, any 102 00:07:47,170 --> 00:07:48,280 formal list. 103 00:07:48,280 --> 00:07:50,710 So I'm just going to say the straight that's it. 104 00:07:51,190 --> 00:07:52,270 Just executed. 105 00:07:52,270 --> 00:07:57,420 It will take a couple of seconds and it will give you some beautiful picture visual. 106 00:07:57,430 --> 00:08:02,260 So this is exactly that pie chart result for which I'm talking about. 107 00:08:02,260 --> 00:08:10,360 If you are going to cover your mouth, you will see BRT has that much percentage of guest and is is 108 00:08:10,370 --> 00:08:17,050 this GBR has that much percentage of guests, whereas this E.S.P has that much percentage of this. 109 00:08:17,560 --> 00:08:23,110 Similarly, over here, you will see with respect to each and every country, you have some mark assigned 110 00:08:23,110 --> 00:08:29,800 over there, let's say if you have to perform a spatial analysis instead of this pie chart. 111 00:08:30,010 --> 00:08:37,840 So very first, I need that data so that I can visualize it on my quadruplet map because quadruply map 112 00:08:37,840 --> 00:08:40,600 in such used cases will be very handy. 113 00:08:40,600 --> 00:08:42,490 Aurier selected very first. 114 00:08:42,490 --> 00:08:45,370 I'm going to see data of very first. 115 00:08:45,370 --> 00:08:50,710 I have to add some filter which is exactly is concerned equally close to zero selected. 116 00:08:50,740 --> 00:08:54,850 This is exactly my filter and I have to pass this filter in my data. 117 00:08:55,660 --> 00:08:57,550 So now we have the data. 118 00:08:57,550 --> 00:09:03,370 And on this data, if I'm going to add to this country and on this country, if I'm going to call this 119 00:09:03,370 --> 00:09:10,300 value council or if I'm going to execute it, you will see you have all this stuff with respect to each 120 00:09:10,300 --> 00:09:11,380 and every country. 121 00:09:11,680 --> 00:09:14,610 That's I have to convert it in some way to things for this. 122 00:09:14,710 --> 00:09:17,980 You guys can call this an index just executed. 123 00:09:18,280 --> 00:09:19,560 It is exactly the data. 124 00:09:19,850 --> 00:09:22,390 Let's say I have to do some modifications over here. 125 00:09:23,080 --> 00:09:25,650 I have to play with this this column over here. 126 00:09:25,650 --> 00:09:26,320 It's very first. 127 00:09:26,320 --> 00:09:27,910 I have to store it somewhere else. 128 00:09:27,910 --> 00:09:34,540 So let's say I'm going to say it is nothing but my country on a score wise on that score, Peter just 129 00:09:34,540 --> 00:09:35,940 executed after it. 130 00:09:35,950 --> 00:09:40,150 What we have to do very first, we have to access this data frame on this. 131 00:09:40,150 --> 00:09:46,330 I will say this columns is nothing, but the very first column is exactly my country. 132 00:09:46,660 --> 00:09:53,440 The second column I have to assign is exactly my number of guest number of guests with respect to each 133 00:09:53,440 --> 00:09:54,370 and every country. 134 00:09:54,820 --> 00:09:56,050 So just execute it. 135 00:09:56,050 --> 00:09:59,860 And if I'm going to access or whatever and if I'm going to call. 136 00:10:00,560 --> 00:10:04,650 You will see this is exactly that, the frame that you need, that you need. 137 00:10:05,130 --> 00:10:11,660 So here I'm going to say, look, I have to perform I have to perform my core map over here. 138 00:10:11,670 --> 00:10:17,130 So far, this is what I am going to do in this fix, which is exactly less of your plotline. 139 00:10:17,360 --> 00:10:23,720 You have a function known as quadruplet map and just press shift tab. 140 00:10:23,720 --> 00:10:26,390 You will get all the documentation of this function. 141 00:10:26,600 --> 00:10:33,290 What data needs latitude and longitude, location, location mode and all these different different 142 00:10:33,290 --> 00:10:34,590 parameters as well. 143 00:10:35,030 --> 00:10:39,130 So the very first parameter is exactly what exactly is the frame? 144 00:10:39,240 --> 00:10:44,690 I'm just going to say my famous country is providing its data, the second parameter, which we have 145 00:10:44,690 --> 00:10:48,090 to take, which is exactly my location. 146 00:10:48,110 --> 00:10:52,160 So in this location, I'm going to say very first I have to exit this. 147 00:10:52,460 --> 00:10:57,900 And here I'm going to say whatever country I have over here, this is exactly my location. 148 00:10:58,550 --> 00:11:00,380 So this is exactly my location. 149 00:11:00,530 --> 00:11:04,330 And after it, what I'm going to do, let's say I have to assign some color. 150 00:11:04,340 --> 00:11:08,910 Let's say I have to assign color on the basis of number of guests. 151 00:11:09,230 --> 00:11:13,760 It means more the number of guest, darker the color will be. 152 00:11:13,910 --> 00:11:17,480 So here I am going to see countries called Weidensaul Data. 153 00:11:17,490 --> 00:11:22,880 And here I have to say my number of guests, which is exactly this one. 154 00:11:23,360 --> 00:11:29,780 And after it, what we have to do, let's say whenever I'm going to hover my mouse on my callback map, 155 00:11:29,780 --> 00:11:35,050 I have to I have to visualize some things here I'm going to say over underscore name. 156 00:11:35,390 --> 00:11:38,390 And in these very first, I have to exit the data frame. 157 00:11:38,660 --> 00:11:42,890 And on this, I'm just going to exit this country. 158 00:11:42,890 --> 00:11:49,020 So I'm going to exit this country unless I have to assign some titles over there. 159 00:11:49,310 --> 00:11:51,860 So that's my title is Nothing But Home. 160 00:11:51,860 --> 00:11:54,800 Country of guest home. 161 00:11:54,800 --> 00:11:58,760 Country of home, country guest. 162 00:11:59,000 --> 00:12:00,860 So this is exactly my title. 163 00:12:03,860 --> 00:12:05,540 So just execute it. 164 00:12:09,120 --> 00:12:16,800 And this is your beautiful this is a beautiful coral map that you exactly need, and this is exactly 165 00:12:16,800 --> 00:12:20,800 the color bar, which definitely gives some meaningful insight. 166 00:12:21,120 --> 00:12:23,460 So if you are going to go over your mouth, I have to zoom in. 167 00:12:23,460 --> 00:12:24,390 Let's zoom in. 168 00:12:24,780 --> 00:12:25,250 So let's see. 169 00:12:25,260 --> 00:12:29,700 This is exactly that concrete, which is my France that has that much number of guest. 170 00:12:30,090 --> 00:12:38,400 Similarly, over here somewhere here you will see here is a country which is exactly BRT and it has 171 00:12:38,400 --> 00:12:40,210 a maximum number of guests. 172 00:12:40,290 --> 00:12:44,220 It means this Portugal has the highest number of guests. 173 00:12:44,280 --> 00:12:50,040 So if I have to if I have to conclude this result, if I have to go to this visual, then I can say 174 00:12:50,400 --> 00:12:55,820 few people from all over the world are staying in basically my resort and cities hotel. 175 00:12:56,130 --> 00:13:02,430 But most of the guests are basically from Portugal and other countries in Europe, because you will 176 00:13:02,430 --> 00:13:06,480 observe from us you don't have that much number of guests from India. 177 00:13:06,490 --> 00:13:09,470 You don't have that much number of guest from paparazzi. 178 00:13:09,780 --> 00:13:14,910 You don't have that much of guest workers in case of European countries who have a higher number of 179 00:13:14,910 --> 00:13:15,370 guests. 180 00:13:16,050 --> 00:13:20,440 So that's a type of conclusion, how you get fat from your. 181 00:13:21,360 --> 00:13:24,250 So it's all about decision hopes you will love it very much. 182 00:13:24,270 --> 00:13:24,940 Thank you. 183 00:13:25,170 --> 00:13:26,190 Have a nice day. 184 00:13:26,580 --> 00:13:27,510 Keep learning. 185 00:13:27,510 --> 00:13:28,350 Keep growing. 186 00:13:28,530 --> 00:13:28,900 Keep.