1 00:00:00,840 --> 00:00:07,770 Saw what you're looking at is this creep to you and all the previous exercise and what you did there 2 00:00:07,770 --> 00:00:11,580 is that you lost you as the user to enter some input. 3 00:00:12,030 --> 00:00:20,460 So the user and longitude and latitude value and then you pass these values to the new point method. 4 00:00:20,460 --> 00:00:24,990 In this lecture I'll show you how to actually generate Okemo file. 5 00:00:24,990 --> 00:00:31,170 All too often see is all this is a more efficient way compares to the previous method. 6 00:00:31,250 --> 00:00:37,980 So compared to the existing scrip you're looking at now because using a is fall you can actually pass 7 00:00:37,980 --> 00:00:43,830 many many along Dieudonne latitude values at the same time and get camouflages generated. 8 00:00:44,040 --> 00:00:45,540 So now you have to Fien. 9 00:00:45,690 --> 00:00:49,190 How do we get the data out of the sea as well. 10 00:00:49,470 --> 00:00:56,370 Well I think I already told you that you can use the Pandurs the library to do just that Penelas is 11 00:00:56,370 --> 00:01:03,140 a powerful data analysis library and it can efficiently read the data manipulate them. 12 00:01:03,180 --> 00:01:06,210 So I'm going to do all the these two lines here. 13 00:01:06,420 --> 00:01:07,230 OK. 14 00:01:07,260 --> 00:01:12,350 And in Paul the Panas library grades no. 15 00:01:12,680 --> 00:01:16,050 Fall I'm talking about is this one here. 16 00:01:16,490 --> 00:01:23,990 So we have two columns and photos and I'm going to keep my file here and my supplier here. 17 00:01:23,990 --> 00:01:24,860 Good. 18 00:01:24,860 --> 00:01:32,470 So what do you want to do now is create a or frame object we use use your method for that. 19 00:01:32,570 --> 00:01:35,200 Here we pass the path. 20 00:01:35,200 --> 00:01:37,020 All of this fall. 21 00:01:37,150 --> 00:01:41,490 So now we we already have the data all the if pile inside python. 22 00:01:41,590 --> 00:01:45,190 And we're keeping them in that data frame object. 23 00:01:45,240 --> 00:01:51,930 What we want to do now is create a for loop which will iterate through all of these four rows and then 24 00:01:51,930 --> 00:01:55,800 need to execute the new point math 4 times. 25 00:01:55,800 --> 00:02:01,650 So when you point math we'll get along itude and the latitude values for each of these zeros. 26 00:02:01,800 --> 00:02:07,320 So the idea is that we have to start of the loop above the new point math. 27 00:02:07,950 --> 00:02:20,440 So let's say for along that in OK so so far I taught you how to eat eight with one variable but not 28 00:02:20,440 --> 00:02:22,690 with two variables at the same time. 29 00:02:22,870 --> 00:02:29,590 So you used to iterate with one variable through a single list here to iterate through variables into 30 00:02:29,590 --> 00:02:30,320 these. 31 00:02:30,370 --> 00:02:32,650 We have to use a z function. 32 00:02:32,770 --> 00:02:37,200 So the superfunction allows you to iterate through these to the same time. 33 00:02:37,390 --> 00:02:45,670 I know these are the first LEAST WE is going to be they'll want you to call them sue to access or Challice 34 00:02:45,670 --> 00:02:51,730 we call the data frame of any of the square brackets we were either call them name of the data or frame 35 00:02:51,970 --> 00:02:58,200 which is along with passing the second least which is what you do. 36 00:02:58,350 --> 00:02:58,710 Great. 37 00:02:58,800 --> 00:03:00,430 That's the idea. 38 00:03:00,430 --> 00:03:08,450 Now you want to indent this line here and we don't have any name column in our A C as we so I'm going 39 00:03:08,440 --> 00:03:15,860 to do these very arguments that we pass here to the course parameter have to reflect the names of variables 40 00:03:15,890 --> 00:03:16,950 you Sue. 41 00:03:16,960 --> 00:03:18,410 I'm going to pass alone. 42 00:03:18,890 --> 00:03:21,230 And that was it. 43 00:03:21,280 --> 00:03:23,230 We have something here. 44 00:03:23,290 --> 00:03:28,570 It says invalid syntax of course we haven't added the colon here and that's it. 45 00:03:28,750 --> 00:03:34,660 And we don't want to iterate through the Save method because the idea here is that we will create four 46 00:03:34,660 --> 00:03:41,430 points using the new point method and then walls these points have been added to the object then or 47 00:03:41,430 --> 00:03:44,900 we just say this object to K.M. fall. 48 00:03:45,130 --> 00:03:45,710 Great. 49 00:03:45,780 --> 00:03:47,110 Let's serang now. 50 00:03:48,490 --> 00:03:49,750 We have a natter. 51 00:03:49,870 --> 00:03:54,630 So the matter has to do with the long. 52 00:03:55,190 --> 00:04:01,770 And of course of passage for the wrong name because the correct name is what we did. 53 00:04:01,780 --> 00:04:02,090 Great. 54 00:04:02,110 --> 00:04:06,880 Let's take you to go now and let's check the camel fall. 55 00:04:06,880 --> 00:04:10,670 So now we should expect four points in the fall. 56 00:04:12,030 --> 00:04:15,570 And that's how it is going. 57 00:04:15,580 --> 00:04:22,190 This lecture we leveraged to series of data to create K.M. fall. 58 00:04:22,390 --> 00:04:28,990 You may never have to create a game of force in your life but you may have to process as it falls. 59 00:04:29,070 --> 00:04:32,520 The Panda's library is a great library for that. 60 00:04:32,620 --> 00:04:37,900 And here you saw how to efficiently eatery through the rows of all. 61 00:04:37,990 --> 00:04:41,350 So I hope you learn something from this lecture and see you in the next lecture.