Saw what you're looking at is this creep to you and all the previous exercise and what you did there
is that you lost you as the user to enter some input.
So the user and longitude and latitude value and then you pass these values to the new point method.
In this lecture I'll show you how to actually generate Okemo file.
All too often see is all this is a more efficient way compares to the previous method.
So compared to the existing scrip you're looking at now because using a is fall you can actually pass
many many along Dieudonne latitude values at the same time and get camouflages generated.
So now you have to Fien.
How do we get the data out of the sea as well.
Well I think I already told you that you can use the Pandurs the library to do just that Penelas is
a powerful data analysis library and it can efficiently read the data manipulate them.
So I'm going to do all the these two lines here.
OK.
And in Paul the Panas library grades no.
Fall I'm talking about is this one here.
So we have two columns and photos and I'm going to keep my file here and my supplier here.
Good.
So what do you want to do now is create a or frame object we use use your method for that.
Here we pass the path.
All of this fall.
So now we we already have the data all the if pile inside python.
And we're keeping them in that data frame object.
What we want to do now is create a for loop which will iterate through all of these four rows and then
need to execute the new point math 4 times.
So when you point math we'll get along itude and the latitude values for each of these zeros.
So the idea is that we have to start of the loop above the new point math.
So let's say for along that in OK so so far I taught you how to eat eight with one variable but not
with two variables at the same time.
So you used to iterate with one variable through a single list here to iterate through variables into
these.
We have to use a z function.
So the superfunction allows you to iterate through these to the same time.
I know these are the first LEAST WE is going to be they'll want you to call them sue to access or Challice
we call the data frame of any of the square brackets we were either call them name of the data or frame
which is along with passing the second least which is what you do.
Great.
That's the idea.
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
to do these very arguments that we pass here to the course parameter have to reflect the names of variables
you Sue.
I'm going to pass alone.
And that was it.
We have something here.
It says invalid syntax of course we haven't added the colon here and that's it.
And we don't want to iterate through the Save method because the idea here is that we will create four
points using the new point method and then walls these points have been added to the object then or
we just say this object to K.M. fall.
Great.
Let's serang now.
We have a natter.
So the matter has to do with the long.
And of course of passage for the wrong name because the correct name is what we did.
Great.
Let's take you to go now and let's check the camel fall.
So now we should expect four points in the fall.
And that's how it is going.
This lecture we leveraged to series of data to create K.M. fall.
You may never have to create a game of force in your life but you may have to process as it falls.
The Panda's library is a great library for that.
And here you saw how to efficiently eatery through the rows of all.
So I hope you learn something from this lecture and see you in the next lecture.