WEBVTT 00:00.420 --> 00:03.600 Now let's quickly talk about deleting columns and knows. 00:04.040 --> 00:07.680 So in this particular example we have several columns. 00:07.740 --> 00:10.200 So what if I need to drop My Day column. 00:10.530 --> 00:13.870 So for that all we have to do is use our data stream. 00:13.890 --> 00:18.440 Then we have a method called drop and that would take two barometers. 00:18.480 --> 00:21.600 The first one will be label of low or column. 00:21.810 --> 00:29.370 And the second one will be 0 or 1 0 is 4 rows and one will be for column 2 suppose I need to drop Day 00:29.370 --> 00:36.660 column so hard I am taking day that is my label and how they'll find us that this is a column I need 00:36.660 --> 00:37.590 to pass one. 00:37.620 --> 00:40.570 Let me execute this one. 00:40.720 --> 00:45.970 You can see in my new result I have a B column missing seeing follows with my role. 00:45.970 --> 00:47.690 Let me remove one memory. 00:47.710 --> 00:50.020 Remember this is on label 00:53.480 --> 00:54.560 and head to toe. 00:54.600 --> 00:55.100 Does that. 00:55.100 --> 01:00.950 This is a rule I need to pause 0 if I execute this one 01:03.910 --> 01:06.220 you can see I have a missing drawing on. 01:06.640 --> 01:11.010 But remember all these drop methods are not in place. 01:11.140 --> 01:18.240 So if I bring data frame you would get the original one to make them in place. 01:18.260 --> 01:24.290 You have to store them in a particular variable either you can store them in the same variable that 01:24.290 --> 01:30.640 is d if one are you can create new where you will slay B.F. two or three and stored inside them. 01:30.650 --> 01:34.120 So for now I'm taking this just one example. 01:34.460 --> 01:41.690 In both these cases you are passing labelling but what if I need to pass the position that is my next 01:41.690 --> 01:42.640 position. 01:42.800 --> 01:50.210 So what if instead of passing visitors or instead of passing day I just need to pass my position that 01:50.210 --> 01:52.100 is my fifth position. 01:52.310 --> 01:53.210 You can do that. 01:53.390 --> 02:00.440 So all we have to do is all we have to do is create a data frame and then use the drop method and the 02:00.650 --> 02:02.690 true barometer that we are passing. 02:02.690 --> 02:09.320 So in sort of level I can pass the bar graph position with the help of my indexing and the second thing 02:09.320 --> 02:13.580 I need to pass is the column and if I tried to execute this one 02:18.600 --> 02:27.440 so you can see I actually drop my day column and if you directly execute the value of this column you 02:27.450 --> 02:29.170 would get the data as result. 02:29.400 --> 02:37.230 So I'm taking its position and see him I can do with my index if I execute this one you can see it would 02:37.240 --> 02:42.830 return me as my fifth label and headed down my B as label. 02:43.370 --> 02:48.120 So here I'm actually passing label only but with the help of position. 02:48.260 --> 02:50.030 So if I take in next year 02:53.230 --> 03:00.790 and if I want to drop my second position that is my second label all entrepreneurs use my position and 03:00.790 --> 03:03.110 also I need to change this value to zero. 03:03.400 --> 03:08.010 And if I execute this one you can see I have been retained there. 03:08.640 --> 03:10.050 Remember this is in place. 03:10.320 --> 03:15.930 So if you're doing it for Beaumont and drizzled tried to store that in a memory either a new variable 03:16.050 --> 03:18.570 or whether the F one itself. 03:18.580 --> 03:25.050 Now this was quick and easy way to actually draw bar columns and lose in the next lecture let us talk 03:25.050 --> 03:31.620 about how we can update values for a certain column position and also talk about how to add new columns 03:31.620 --> 03:32.770 and lose. 03:32.790 --> 03:34.110 So that's all for this lecture. 03:34.110 --> 03:34.680 See you. 03:34.680 --> 03:35.310 And the next one.