Here even in the last video we have covered creating the data.
Now we will cover input categories and the little interface with the main function so here we have the
Jupiter notebooks.
We will begin here with showing that what is the data frame created by the user.
We have some more sense here.
So here.
First I will write print and then I will pass humor data frame had is given below.
Check the columns to float and then bus something like using cufflinks.
Dave we had this one and then we will print the head of the data so that user will get a little idea
of detail.
So here we have this one and we go with this.
For short let me just demo this one for a while.
Maybe go now after this one I did ask the user that what kind of plot does he take why does he need
to put all the data will it just need to put few columns.
So what kind of bloat you need.
And then something like what kind of boat you need to complete data upload code golems blocked.
Then we have this one.
After that we will pass a variable get that is denoting category.
Then this one is input.
Press 1 for floating all data all we can see all columns or press 2 for specifying
columns to load.
You can add any kind of come on.
Then we have gathered this one as an input get because the input is a string type function.
So here we have this one now and in danger maybe over deadpan.
And if I didn't get it we had this one.
One.
So this is about the function.
And now what will I do.
I will call the main function on get.
Which will provide me the output and what the main function is.
Let me be defined here.
And depend on travel pass areas also get.
You can use a different parameter if you want to.
And it will be like the one that is shown in the last here.
This thing this whole like select the type of proto you want to enter all these things.
So here I will define all that things like if the get equal to one in case user want to upload all the
data.
Then here I will provide all the plots available for data like first I will pass print like selecting
one of them.
Select the type of node you need to upload by writing 1 2 6.
Maybe you have six options here.
After that print this one one and the one is the line plot.
Then print the second one which is a scatter plot maybe have set a plot and we had this one.
After that we will print the third one that is the map plot and unfold.
We have is to cram so heavy air for both his to ground
and you can also add more plots here.
According to your requirement you can also add by charts.
Now here we have 51.
That is the box plot.
And now we are meeting with this office one lady only did 1 6 dot so face plot.
There we go with that one now.
These are the options available to the user.
Now user will enter something and we need to take care that what the user enter.
Between 4 and 2 6 so we will take that into a variable plot.
That is the input by the user that is input here.
And again this thing is going to be a string when input.
So kind of like this one also into an input into.
David go with that one and then we have our output based on the value that user specified.
And that will be something like.
Main function is of a floater for bloating the program that I'm calling here.
Then it will blow the data according to the value block if it is 3 then I will pass the t value to the
plot function that I'm going to define here.
So here I have blocked off using value block them.
So I'm passing the same parameter that I'm using the variables again.
They may or may not be same so he'll vindicate equal to 1.
The plotter will work here for that in case they get equal to 2.
So here we have.
And if then get equal to equal to to what will happen in that case we will again pass print Select and
Select this whole currency.
Come on we and that one this one this one and this one seven because we are going to have seven plots
here.
After that these values will be same.
So just come on C and come on read them then also pass the 71.
That is D 7.
Don't.
And then that is double.
David had the son then then function have the value of get then either it will go to this one or this
one or the adds condition.
There is no third condition or it will not go to two condition if one is satisfied like when it is satisfied.
It will not go not go to this one when this one is satisfied.
It will not go inside of this one.
So here we can use the same variable plot that will be end and input.
Then we have a output based on the plot value.
And then again we will call Pluto.
But here this time Pluto 2 because the function for this one and this one is a little different.
So all values plotted to blow them.
And now we need to define plotter who's working is to load the values according to the ones selected
by user.
So this is about the second one as in that case and use it into something from like 3 4.
And any string value that in that case just print plays and one of 2 and try again.
There you go.
Now shifted on day we have a function.
So this is a main function with of which will perform diverting when the user will input any value to
get it will select that value and choose whether it's 1 or 2 like you sort of need to plot all the data
at once or use a need to plot according to some specified columns then it will go inside the one that
is specified by using cat and then it will again take input from user denoting these six or these 7
values whatever the value selected by the user will be saved in a variable plot in integer form that
value value will be passed to the function that is plot or plot or two that actually plots the value
on that particular plot that is selected by you so then it will provide that output.
Here we have both the output in the condition when it fails it will just show that try it again.
So this is what they sell Hayes and let me delete this ex just let it go.
Now we just need to define these two functions.
That is Pluto and Pluto which are our main backbone of program.
These are easy up to this point and we will cover these two in the next videos.
So thanks for watching.
Continued the next video.