Okay, so good morning all. Good morning all. We'll just wait for three minutes. Let everybody have to join and we'll start the session. Yes, yes. Good morning. Okay, so yes. Good morning. So we'll start the class. So in the last class, we had seen a little bit about the Python. Okay, because for the machine learning, for the advanced machine learning, the python is the prerequisite as we had already seen okay so we need to understand little bit about the python but direct python is not that much efficient or that much thing is that we need to know okay so what kind of python we are requiring the python data directly related with the data science okay or the machine running so we need to see that particular thing so if we are talking about the machine running and data science then what kind of python is required that we need to see so in the last class we had seen the very basic about the python that is completely the how we need to install where we need to work and what are the different different thing is about the python that we had seen in today's class and from today's class we need to understand the python that are directly related to the machine learning so there are the five libraries that are very much useful for understanding the for understanding the machine learning okay if we are talking about the basic machine learning deep learning and all of these thing so this five library is very much useful so we are starting with the very first library that will be the numpy then second one is the pandas third one is the matplotlib then 51 is the c bond then next one is the psychic level okay so this all are the libraries okay this all other like yeah i i i share the screen just wait i'm just talking about yeah so this all are the libraries that we need to understand okay yes yes i'll tell i'll tell everything okay i'll tell everything so here i had say other screen so i'm starting with the very first library that is the numpy okay the number and one by one i'll tell each and everything okay each and everything with you regarding the what kind of library is there so today's class is dedicated for the two library that is the numpy and second one is the pandas uh there is a one thing is there uh i am not having the right page or on through which i need to write on the screen so today there is a little bit problem because i am out of station so i didn't carry that particular thing so just uh in this particular class i am not having the writing but otherwise i am i am having the writing pad at my phone so we can take so kindly bear it little bit okay but i'll tell uh through the ppt through the that particular things i'll tell each and everything okay so yeah so this is the numpy okay this particular things are the number as we had already seen the numpy and second one i am writing here the pandas okay pandas then after that i will remove okay then the metplotlib and second one is next one is the c1 the next one is the scikit learn okay so these are the sorry these all are the library okay this all are the library that we need to learn so we are starting with the numpy okay we are starting with the numpy so what the numpy will do okay what the numpy will do so the numpy means okay so the numpy means it is the useful for the numeric python as the name suggests the numeric python that is the numeric python so whatever the operation we need to perform over the uh over the that particular yes yes like it okay whatever the uh the numerical python we are having that means whatever the python required the numeric value then we can say we need to apply the numpy then pandas pandas is used for loading the data set once we unload the data set then only we can uh apply or analysis that particular data set so panda is useful for that then might not live met for our clip is used for the data visualization the same thing we are using for the c1 but we can make the high dimensional kind of uh graph wall chart all the things through the c1 then the last one that is the cyclone that is the very much important thing about the machine learning because mostly the model on the algorithm are under the scikit learn okay so whatever model we need to use for our data set or for our analysis then all the data are the data model are inside the cycle as well as the trend test this will lead as well as what we are saying the data pre-processing all the library are comes under the cycle so one by one we can see each and every library so we are starting with the number okay we are starting with the number so what is the number okay so numpy is the python library that can be used to working with the array okay that particular thing is there so it is the very much easy thing that whatever the array kind of thing is there as we all know that array is a homogeneous kind of thing where we can store the numbers okay so numpy is the python library that we are useful and whenever we need to work with the area then we need to perform that particular thing so whatever the mathematical operation we need to perform for our machine learning kind of task just in the domain of the linear algebra the Fourier transform matrix matrices then all these things are comes under the numpy okay all and all our things are comes under the numpy so whatever the mathematical operation or mathematical things we need to perform for all that we are we need to use the number one having each we can do and we can perform the actions over there okay then it is an open source project and we can use it freely so whenever we need to download the python we can directly use that particular thing so here the data collection there are the four data collection thing is there in the python the first one is the list double set and dictionary okay so that all is there but that is not useful for the machine learning kind of task so that's why we are not reading this particular things so we have a list that can so in the python the list can also perform the array kind of thing but the numpy is the very fast thing okay that's why we need to use that particular thing otherwise we can perform the through the list also okay through the list also we can perform the array kind of task but it is not the recommended thing because it is very a slow process okay that's why we need to go ahead with the numpy so numpy can be used for the nd array nd arrays means n dimensional array we can create the one dimensional we can arrange the two dimensional three dimensional like this we can arrange the n dimensional so we can use if we are talking about the machine learning or the data science related kind of thing then array can be the very important thing okay array can be the very important thing so where we are requiring the speed as well as the resources okay so all of these things are there okay so this is all about the theory about the the number but we need not to think much about the theory only we need to understand that whenever we are requiring the numerical python and the we need to perform the numerical operation through the python then we are requiring the numpy so that we can use that particular thing so whenever we need to deal with the array kind of thing then we need to perform this particular thing so how how we can say the numpy can be used okay how number 50x faster than the it's just like whenever we need to create the list then it is the behind the story guide of thing that it is 50x faster so whenever we need to assign the array through the list then it is very much a slow process okay we cannot recognize that particular thing so but whenever we are performing using the numpy that is the third party model you okay because already in the NumPy there is the access of the array is also there okay access of array is there so whenever the NumPy we are importing the NumPy all the operations are we need to do under the NumPy okay we go into Python compiler but in NumPy already all the information are restored that's why it is faster okay we are not saying we are they are just claiming that the 50x faster but that things we cannot see so for the theoretical concept we need to see or we need to learn that it is the faster thing rather than the using the list okay we can perform the same task with the list also but we are not worrying or we know we are not thinking to use the list why so because it's speed is slow and in the machine learning there is a small small task is there that we need to perform in the very instant basis okay that's why we are choosing the nd area okay so first thing is that we need to install the numpy so we need to write on the pip install numpy on our command board then we can perform okay we can perform it is very much easy process okay if your system is already having the number then you need not to apply over this okay it is a command pip is a command okay pip is the command so whenever your system is having the cpu then we need to perform the pip install numpy okay it's a command pip is a command just like a mac directory and all the command is in the linux okay the same command yes yes in every os in every os we can write like this okay pip install numpy okay it's the installation process okay it's an installation process of the number so whatever the things we are whatever the library we need to install in the machine learning the same process we need to follow the pip install pandas pip install made plotly pip install like this that means everything is just like a pip okay calling it a package manager would be the uh would be more correct yes you can call but we are understanding like this this is the complete command okay yes the all the package are comes under the pip so we can say the packet manager you can call okay so that is there now yeah uh now we need to think about the example okay now we need to think about the example that how the number is there so we need to first thing is that we need to import the number okay because numpy is the third party thing as we can as we had already seen in the first class that python is rich in the library there are lots of work is there and we need to call over here okay so pip install numpy we have done this in our system the numpy is already there so we can import anytime so whenever we need to perform the numerical kind of things then we need to import the numpy it is very easy process first thing is that we need to import the numpy then inside the numpy there is all the thing is there then all the array thing is there so array is equal to numpy dot array that is the one two three four five so all things we need to write and we need to write the print array okay so this is there that means if we need to run it okay if we need to run it then you can see i need to run this particular thing so what the zupiter notebook and here you can write okay just like this is the program that we need to import the a numpy array then numpy dot array here you can write the list also okay but the whenever we need to perform the task through the array then we need no we need to write the things under the numpy okay so import numpy that will be the array is equal to numpy dot array then one two three four five so whenever we need to use so this is the this is the like this the one two three four five is there okay so it is there okay yeah this is the installations manager okay installer is there so pip is the just like it's a command that it is already there okay pip is the installer inside this all the library is there so we need to install in our machine okay so it is there yeah so the same process we need to follow the second thing that we need to understand the second thing that we need to understand is like this that means we are having the numpy as a np that means that we are writing the import number and import number is the complete it okay the import numpy is the complete word but if we need not to write that complete word in the many time then we can say the number as an np so whenever we are requiring the number in the future we can directly write the np okay because we had written the name just like kisi ke ghar ka naam okay just like kisi ke ghar ka naam there is a very big name is there we can write it as a sort form and we can use in the future okay yeah the numpy is the continuous yes it is hundred percent continuous memory layout because this is an array array is also called as the continuous memory okay continuous homogeneous kind of the memory so uh yes iteration instead of iteration loop style of the pipe yes it is very much faster so because we need to deal it with the array then we are saying this is the whenever we need to store that particular things into our memory okay so whenever we need to store then it is the homogeneous continuous memory homogeneous means if we need to search the three okay if we need to search the three we can write directly we can write with the this particular thing so we can fetch that particular word in the very effective memory okay because that's all is stored suppose the one is stored in 1004 take address in 1004 then two is stored in the 1006 the three is the 1008 like this okay so whenever directly we can directly give the address of this so that we can so it's a faster thing in the list we need we need to search more thing okay we need to search more thing so this is there how we can create the nd array objects okay so here the complete thing is there this is how we need to write the thing now we need to get the array okay we need to get the type of there so here we can see the type that means here we need to write the print and here we can write the type okay then like this okay like this then we need to run it here you can see here you can see the numpy.nd array okay numpy.nd array so this is there then it is like a tuple because we can see the double quotes like this okay so that we need to write then we can say this is the tuple otherwise this can be the list okay but this can be the tuple all the things are very much said now if we need to tell about the 0d array 1d array and 2d array then how we can write this particular things okay in today's class only we need to understand the number and pandas use okay after the two class the met plot live and the psychic learn we need to start with the uh algorithm or the model okay so this is there okay there are whenever you are searching on the internet there are lots of reason is there because the main thing is about the main thing is about the num pies is faster because of its continuous memory and the homogeneous kind of memory so searching is very much easy and it is the very faster that's why if we need to go ahead with the list and tuple then it is not that much faster if we are comparing with the number and that is the main concern and the main reason if you want to search on the internet there are lots of things there okay so we are not here to discuss that particular things because our objective is not for the understanding the python our main task is to understand the machine learning data directly related with the five okay so how we can create the zero trx so here we can run the zero trx here we are having the single though and single call that means single character okay single value is there so if we need to run then 42 is there so this is the zero dear that is the zero diamonds now whenever we are having the one dimensional then that means we are only having the row but whenever we are having the 2d array that means we are having the row as well as the column so this is there here i am so kissing you i'm not telling the each and everything to you because there is a time constraint and we need to cover okay because that particular things is not that much useful for you but only you need to understand for the later part of the thing yeah yeah so it is there here you can see this is the two dimensional here are the row and these two are the row and there is the column is there okay so it is there okay so how we can identify this particular other two dimensional here we need to search about the this two two parenthesis is there so that we can say this is the two diamond list so just like the cheat code is there here you can see the three dimensional that means the three is there okay here you can see the nd array yeah so three dimensionally here you can write the nd array also okay now i need to run it here you can see there is a 3d array okay this particular things are called as the 3d array okay this particular things are called as the 3d array so this is how we need to write okay here we can write now now we need to go ahead and we need to see little bit of the exercises suppose that a inside the a 42 is there b but two three four five is there okay now there is the c that that means here this is the two day dimensional and this is the three dimensional okay so that means we need to check the dimension over here okay we need to check the dimension so here we can directly write acre dimension is this particular how we can get get so whatever the number of this parenthesis is there the same number of dimension we are giving here that is the zero dimension the b can be the one dimension c can be the two dimension d can be the three dimension okay it's just like this just like this we can write the five five dimension also okay just like this the important umpires and p and we need to write we are not having the visualization that how the five dimension array can be written okay but if you want to see the five dimension then how we can determine here you can see here you can see we are we need to write the five dimension okay there is a jupiter implementation two for python yes a hundred jayton okay sir is in the python list we can add the item in a time in the possible yes it is possible it is possible we can name it okay here the import numpy is the np array np dot array so nd dimension that means we need to hide this particular array in the high dimension okay so here you can see here you can see i i'll tell the this particular answer you go to add can we so in case of the yes 100 percent i'll tell i'll tell okay so this is there okay five so if we need to write then how we can say this is the five dimension here you can see one two three four five this is five dimensions okay so that means our five dimension array looks like this so this is the cheat code that we need to we need to count the parenthesis and accordingly we can say this is the five dimension or the six dimensions okay now now you can see okay now you need to yes i'll share the ipvnv i will share this complete word file so that you can perform the many things okay so that you can perform the many things here are the important how it manage the five dimension indices you the python is a capability to understand the n dimension because just think about the machine learning that means there are large number of data set in there and that kind of data and one kind of the data set can be anything if data set it may be dimension that means we need they need to python need to be understand that particular things in the very effective manner it's a visualization stuff here you can see this is the five dimension we cannot visualize the things that are more than the three dimension okay we cannot recognize through the our eyes but it happened in the behind story okay it happened in the behind story that means the dimension is just the list of list yeah you can say list of list by dimension means that means if the things are in the x and y plane then it is the two dimension that means we are having the row and we are having the column but we are having the row column as well as the height that means xyz then xyz one two that means the five dimension that means there are different dimension is there but our new die cannot see that particular thing okay yes matrix is the two dimension okay the one dimension is the vector two dimension is the matrix three dimension deeper we can go ahead okay so if we need to be search search the element okay while creating array in the number do we always define the list no we are not saying to define the list we are saying the defining the array okay the list is the different thing while the array is the different thing that's why i am 100 time we are using the np.array so that can be the array that cannot be the list if we need to write the list then we can directly write the list we are not using the numpy for that and that if we are creating the list it is the slow process although they are looking like this looking like same okay looking like same but the list can be directly written if we need to write numpy dot array that means this particular things are the array okay so import import numpy now we need to search the element now we need to search then if we are having array zero then it's things are starting from the zero okay that means zero one two three so if we need to search the first element then we are writing the zero then array zero means what about the answer will come that means the one can come yes you can add you can add the five dimension two dimension three dimension i'll tell half i'll tell half okay the adding joining that all operation can be there okay here the complete list is there okay to right now i am telling about the searching if you want to search then how you can search array one that means two array two plus three that means array two that means the three and array four can be the four so the answer may be the seven okay here you can see the searching is the very much important yes there you can see okay so that means something that you need to understand the practice is all in your head okay the thing is that that means the answer is seven so that means the searching can be like this okay searching can be like so this is how we can search now if the two dimensional is there this is the two dimension this is the one dimensional array if the two dimension is there then what happened this is the print we need to 0,1 then what is the value you need to tell okay you need to tell the 0,1 that means what happened all the things are same that means the array is there this particular thing okay and this is that particular now you need to run then you need to tell the answer is two why so you need to understand the array zero array zero ka matlab kya hai this is the array zero and this is the array one okay in the zero you need to search for the one so in the zero this is the zeroth array and in this you need to search for the first step okay so this is if we need to search the nine how we can search what things we need to write so we need to write the array one here and whatever the number is there that is zero one two three okay three now you can see the nine okay like this like this i hope that particular things are understand the value of five okay so this is there now if the three dimension is there okay now if the three dimension is there then how we can write zero one two now i need proof for b that particular thing okay now you need to search okay now you can get this is the zero this complete big element is the zero this complete is the one so that means we need to come here this particular now in this this is zero this is one that what means we need to come here and we need to search for the two that means zero one and two that's why the value is six okay that's why the value is six okay so this is there now if you want to search for the 11 then what command we need to write just it this is the zero this is the one so this is the one now this is zero this is one so this is one and this is the one okay so this is how we need to get the elements okay i hope so things are understandable by okay it is very much easy but only you need to consider now if we need to write the minus one then minus one is starting from the previous thing that means this is zero and this is one but minus one is like this okay so minus one is the reverse process okay minus one is the reverse processor it can be started from right to left okay it can be started from the right to left okay that means the 10 value is there okay 10 value 10 value okay what we write the minus one minus one we cannot the if if you write here then what happened what happened the same thing this is the minus one and again minus one say minus one is this one so the value is 10 only okay this is there so that particular thing is there okay now we are moving ahead and we need to slice that particular things the error slicing error slicing it's the error slice if we are having this particular array one two three four five six seven then if we need to write the one form of five that means the value can be started from counting started from the 0 1 2 3 4 5 that means we need to start with this and we need to run it okay but the left thing okay here you need to understand here you need to understand one thing that at the starting thing we need to count okay that means 2 is at the first position three is at the second then fourth then fifth but we need not to use the left hand sorry right hand kind of thing okay right hand side things we are not counting but the left hand things are we need to count that means one or five we will we need to count the one but we need not to count the five that means it will run from one to four okay it will run from 1 2 4 so that is there now if we want to write the 6 then 0 1 2 3 4 5 so you can see the answer is this okay so that particular thing is there that means this complete and if it is written 4 that it is started from the post that do 0 1 2 3 4 that means 5 we need to count and if nothing can be written then it can run at the last last the current last the current okay it will run at the last there you can see because nothing is written that means we need to run at the last whatever things written at the last okay that can be found okay so this is how we need to understand okay and minus three minus one minus three is just like the we need to count from the last that means this is the minus one minus two minus three so minus three we need to count and seven we need not to count because the minus one we need not to count because we have to count the left one but we need not to count the right one okay so if you we want to see the answer then what is the answer yes very good five six only okay like this just like here the three word is written okay three thing is written that means we need to count from first and we need to count until the fifth but if they will not count and whatever the third thing we are written here okay that third thing is the counting or the jumping of that particular thing that means if we are popping this particular things over there then you can see the one how it is started from the one here you can see zero this is one so the first position at the two that means two three four five but we need to only see in the form of by jumping the two okay while jumping the two that means the it is starting from the two then the jump is there that means four if the jumping is three then you can see two and five okay that means that thing is there okay jumping is there that how many number we need to jump so this is all about the thing okay this is how all the searching is there you can take or you can take this particular things and you can see there are lots of experiment is there okay here are lots of experiment is there okay now we are moving ahead there are lots of experiment i will share to you so that you can so my only concern is that to understand the number five that means what table the mathematical process we need to have two that means you need to perform that particular now we if we need to reshape our dimension okay yes i can share on the chat box also okay i'll share i'll share after the class i'll share okay yes hundred percent hundred percent i'll give so if we need to resave resave means one dimension say we need to create the two dimension okay then what happened this is the one dimension if we need to make it the two dimension then we need to say the array dot resave resave is a function in which we need to give so if we need to convert our data into the two dimension then whatever two dimension that means we need to keep the row as well as the column so that you can see here you can see this particular thing okay that means we are having this particular things and we had converted into the 4 comma 3 because we are having the 12 value okay so here you can see this is the we had made in the two dimension okay we have converted it into the two dimensions how we can see this is the two dimensions the cheat code is there that means it's starting two parentheses here the two okay if we need to convert the one to three d then we can write but the thing that you need to understand it's multiple two comma three comma two can be the similar number of value we are having here okay it has the same data type where is the uh yeah you can see yes we can create the matrix we can create the different dimension matrix through this okay we can see the different dimension matrix okay so this particular thing is there okay now we need to iterate now we need to iterate the iteration of the array means we need to run one one element okay we need to run the one one element over there okay there are lots of experiment we can do okay so numpy is an np then np.array so this is the complete array there now if we need to run one by one that means one we need to print that means for one in array then we need to print so you can see the one two three that means we need to iterate the array one by one suppose that there are lots of value are inside this and we need to run then how we can run this particular thing so this is how we can go ahead and we need to see this particular thing okay so this is there now we need to going ahead and we will see the iteration here you can see the iteration if we need to go ahead and we need to see the iteration okay here you can see okay here you can see then complete array we need to understand but if we need to go ahead with the one two three in the different different direction then here you can see the different okay we are we need to apply the two follow for that okay we need to apply the two follow for that the one is for the first row and second thing then again again we need to write the one more that y in the x that first x in the array so this is the first thing this is the second thing okay so this in this first we need to again iterate the thing so this is the print divide okay this is how the one yeah can we explain the one two three d okay once like a 3d if we need to perform then you can go ahead okay here this is the one two three okay that means we are having the array the first thing is that we need to write the first that means the two array that in the first array there is the three element is there and there is the two okay so if you can write uh yes yes yes i i'll share i'll share the word file so that you can copy paste that particular things on your twitter and you can perform if you are not having the zupiter then each and everything you need to perform over the column okay so this is how you can write okay suppose that this particular thing is there then what happened at the first time at the first time only this thing is at the first row second thing at the second row okay only thing we say 1d to 3d okay yeah so this is there okay this is there okay i i'll copy paste so that you can easy to understand okay yeah i or something okay here the complete thing is there now you can see now you can see this is the two that means first thing is that we need to create the two data set one is this this is the second okay now there is a three that means three row in the first one three row in the first one and three row in the second one okay now is the two because here we are writing the two so two two like this if we need to convert it like this okay here if we need to convert the three is it like this yes you can see here you can see that means there is a two yes very good two forget you may divide the a then what number of row is required only the two row is required and how many column is there that is the three that means two comma three that is the one dimension okay that is the one dimension or that means two we need to add okay uh yes yes you are here being the minus one here you can see here you can see we need to run it okay minus one is just like the previous abhi kitna dimension mein hai two dimension hai toh kya kaltega this dimension mein convert kaltega whatever the previous dimension is there so two dimension has one dimension kaltega one is zero kaltega like this okay minus one kaltega okay so iteration is there iteration is completely now now you can see you had asked about the addition and concatenation in the number if you you need to add anything just like there is a one array is there and one two three and if i need to add the four five into this particular thing then how we can add so there is the one joining method is there okay join method is for join there is a concatenate method in there the one person is asked the question sir if we want to add anything then how we can add so for that there is a concatenate method is there so that we can perform this particular things and we can write here okay yes okay so numpy there is a one two three four five six we want to add so for that there is a direct method is there that method name is called as the concatenate so that we can concatenate the array one with the array two okay so this is the method for which we can through this we can create this particular okay now there is a again two dimension is there here the again two dimension is there and we need to concatenate by the axis okay axis you need to understand okay here you can understand okay here you can understand once we are running this particular thing you can get this particular point okay the same dimension is there one two three four five six seven eight here the axis is one if i am writing the axis is a zero then here you can see okay x is once means i'm they directed in the row wise okay but here the column data axis we need to add okay so this is there okay so here the different thing we can add this particular thing okay there is a one more command is there and that axis is just like here you can see yeah axis is the one one axis means there is a complete array is there and there is a second array is there okay that means the complete two array is there then whenever we need to concatenate then the first array and the second array both the thing is there and we need to add the axis wise axis means either we need to add through the column or either we need to get through the list axis 2 it is like this yeah you can get axis 2 is not working okay because there is a two column only okay it is the two column only there that means we are having the x-axis as well as the y-axis okay so how we can connect okay how we can connect with the x is three here you can see okay yeah yeah yeah very good very good okay so that means that kind of thing is there either in the row format we need to add or either in the column format we need to add that can be done by the axis okay x is kind of formation there is a one more command is there that can be the hashtag okay stack command is there so the stack command is also showcasing the same thing whatever the concatenate can do okay the same thing that if we are doing that particular experiment then you can see the stack command okay so as you can see there is a two arrays there the first is there and the second one is there then if we need to function in at that particular things and here we are writing the axis and the one that means in the row format they are adding just like this once then four two and five if we need to change the axis as a zero then we need to run it here you can see the first is the row comes then secondly the second row is coming into the secondary okay so whenever we are adding like this that one four two five three six then we need to write the x is one otherwise we need to write the x is zero okay yeah so this is the for the state so the same thing can be done by the concatenate the same thing can be done by the stack now our next thing is the h stack that can be the horizontal state okay here we need not to write the existing the horizontally we need to connect this particular thing whatever the two array is there we need to connect okay we need to connect in the horizontal basis so here you can see one two three four five six directly we need to connect okay okay so that can be the h stack h stack is the similar yes x is one what does this imply is this row or column yes it is the row we need to add by the row and we need to yes row wise that means the x is zero column wise it is the x is one while x is two is not allowed in the one dimensional it can be allowed in the two dimension yes so h stake is there similarly we need to go ahead with the v stake that is the vertical so h stake is already the horizontal one and p is a vertical so vertical stake is there so that we can see 1 comma 4 1 2 3 4 5 6 like this the stake is there and we need to add it so that particular thing is there so i hope so this is how we need to go ahead if we need to split the array then we can go ahead and we can split the data set okay split this particular thing okay so this is the one two three four five six and we need to split it then how we can split this particular thing okay how we can split so we need to perform this particular things okay now we need to run it here you can if we had splitted it into the three area okay there is a complete thing is there one two three four five six and we need to split it so this is how we need to split okay so i'll provide this particular thing and you can to perform the things the sorting kind of things all the thing is here so this is how the numpy can be there okay numpy can be performed like this okay so whatever the numeric value we need to do so all the numeric operation we need to perform through this okay now now there is a pandas okay now there is a pandas is there the next library so pandas is the python library again that can be used to for working the with the data set sir can you explain about the x is zero and x is one x is zero is just like the row basis if we need to add the data using the row row format that means here the one picture is sent by that you can see that particular picture the x is zero is just like a row wise if we need to add any value like the one four two five three six that means in the x is zero means the simply the x-axis and we can say it can be the y-axis there is a two axis in the one dimension oh sorry the two dimensions okay so you can take anything as a if you want to add anything in the row dimension or the row basis then we can write the axis zero otherwise we need to write the axis one that is the arrangement of the data data so for that if we need to add the data in the row basis then we need to write it in the axis zero but if we need to add the data in the column wise then we can say it is the axis one okay so it is there okay it is there x is one is for the column wise and x is zero for the row wise okay you need not to worry if you are doing the programming then you can get that particular thing okay you will get that particular things whenever you are doing little bit practice if you can do perform you need to take the one array then you need to take the second array and you need to do with the and while changing the axis so that you can please indicate understand okay so now there is a next library is there yes yes understand understand you are in the first semester i am very much understandable by you is the machine learning yes yes yes yes yes advanced machine learning course is there but for understanding the advanced machine learning we need to little bit understanding about the python and all okay then only we can go ahead with the different kind of models yeah yeah pandas is there so pandas is the next library so pandas is the python library that can be used for the data set if we are if we need to deal it with the any kind of data set then we can go ahead with the pandas and what the pandas will do that means it is the function that can be used for analyzing cleaning exploring or manipulating the data okay manipulating the data okay manipulating the data so that means if we need to analyze our data set if you want to clean the data set if you want to explore the data set if you want to manipulate the data then we are using the pandas for that okay then the panda library can be allowed to analyze the big data whatever the statistical theory is there we need to do that particular thing so the only thing that you need to understand that the pandas can be the one python library that can be used to load the data set and after the loading the data set we need to analyze we need to clean we need to explore and we need to manipulate that particular data so that is that's why the pandas is useful again if you need to install the pandas then what how we can perform that means pip install pandas okay so through this we need to install the pandas and if you need to import the pandas then we can say import pandas all the things are very much same okay all the information is very much same that means if you we need to run if we need to run the this particular commands okay if we need to find this particular command here you can see okay here you can see okay there is a already data.csv is present where the data.csv is present here you can see one if we want to search if we want to search then data okay here you can search one way is there where the data dot csv okay here data dot csv is there uh do we install yes no no no in the collab we need not to install otherwise if you are doing on the local machine then you need to be installed yes it is very much clear easy or very much similar things as you are done in the vs code ps code maybe you can perform okay so data dot csv is already there so we are we need to run that means we need to read csv okay through this we need to get the data dot csv and here the print is there that means we need to showcase the that particular things into the history you can use the google colab and import libraries otherwise if you are doing in the local desktop that means super notebook spider then you need to be installed but if you are if you are using the google volume that is the online platform there already the numpy and pandas is stored okay installed so this is how that complete data set is there so here you can see the complete data set okay here you can see two string is just like the string we are ready okay otherwise you can see otherwise you can see no issue you can see okay you can see if we need to see that particular data set with the help of the string data set okay with the help of the string data set here you can see okay you can see the very easy thing all the things it looks like a very easy data.csv is already there i'll provide this is the data.csv okay here you can see okay i'm opening this particular here are the data set okay here are the data set data.csv you can download that kind of data set from anywhere but if you need to import data set in our coding then we can write the read csv read underscore csv and we need to write the path of that data.csv and we need to write suppose that you had saved the data set here then you can directly face the data set of the csv here okay so you need to first upload the thing upload like this upload data set and then you need to perform this particular task over there okay so two strings that means we are converting our things into the yeah okay the we need to explain the csv csv is the comma separated value okay that means it is similar as the excel file but here the two value are comma separated that means two when you are in the different different value oh sorry different different column that can be the csv that is a comma separated value okay when you have volume or weight yeah allag allag column me just like this okay yes you can see there are lots of things the head so i'll tell each and everything what happened in case of the local machine in the local machine you need to upload your data set over there here once you are opening the zupiter here the upload option is there at the left hand side you need to upload the data set okay here we had uploaded so many data set similarly you need to upload the data set and then for colab you need not to up in the colab also the left hand side i can show you okay in the colab also the colab also i'll tell okay i'll tell in the colab okay the colab is also the similar kind of thing is there if you want to i need to open the collab okay there is already one full of notebook is there there okay here the new notebook okay here the complete new notebook is there and here you need to upload the data set because uploading the data set is required okay because data set is in r okay here you can see this file option okay here the file option is there left hand side okay and it is connecting just wait for the connecting because the connection is started okay yes you can upload any kind of the data set okay you can upload any kind of the data set it will connect soon okay here you can see now you can upload your data set from here here the uploading is there okay here the uploading is there okay here the uploading is there just like this there is a data set is there okay here is the data set is there at the home here you can download this particular data set also okay here i can download i can download yes data.csv and here you can upload where is this yes this is the colon and i need to upload this particular dataset okay here the data.csv okay i need to upload here here data.xls okay and now i need to copy paste so that okay and what things we need to do here we need to write the copy path okay here you need to do the copy path and here you need to paste the path okay and here you here you can see yes you can do anything yes it is read csv is used for the excel uploading okay it's the excel uploading okay for the json file you can do because in the day in the machine learning the recommended file system for the numeric data is only the csv okay sir if we have a multiple diameter in the data set how can we read the data from it uh first you need to convert that particular file into the csv okay first you need to complete that particular file into the csv then only we can perform okay then only we can work here we can also create the data set okay we have to also create the data set just like this for the copy and here i i'll open okay just like this okay here we had created my data set in my data set the car is there and passing is there so if i need to run then this is how i can create okay this is how we can create the data set okay this is how we can create the data set so this is there okay this is there so i am i'll share this particular file so that you can perform each and everything okay so if you need to showcase or suppose that this particular data frame is there okay suppose that this particular data frame is there the data frame what do you mean by the data frame data frame is just like a data set creation okay suppose that we are writing the panda says my where is just a name name okay it's a variable name do not confuse with this okay here the my way is there that can be the variable name you can create anything a b c d e f g i'll tell okay i am showcasing you the data frame because that is the important that's it suppose that we need to add the import point as spd then there is a data and there is a calorie is there as well as the duration is there now we need to showcase the data frame okay data frame means there is a one uh class sorry one function is there that can convert our data into the data frame okay so here the df is the variable name the pd is the fundus so we can call the data frame and we can write the data and we need to print the df and here you can so say this is just like a data set okay this is just like a data set so if we need to perform the various tasks over this then we can go ahead okay we can go ahead with this particular data set so you can perform any kind of task over there we can so the df dot location okay we can so like this here you can see okay here you can see this particular thing okay the that what is there at zero location there is a 420 comma 50 that means we need to analyze our data set okay so in pandas also the data story as it is 100 starting from the zero index okay it is started from the zero indexing yes it is happening in all the computer science okay in the computer science the things are like this okay things are like this okay so if we need to give the indexing number okay just like zero one two say the indexing now if you need to indexing like this okay that your index that means the first index is the day one second index is the day two and third index is the day three then we can run and here you can see okay now if we need to print okay if you need to print the location the data to day two key entry if you need to represent then how we can present here the thing is there print df.location then day two then then the data to the entry can be there okay the data to entry because we had converted or we had given the name as a day two okay so it is like this yes it is the fixed format the data inside the uh double quotes this is the fixed format okay this is the thing this calendar you can write anything okay you can write anything so this is how we are creating the data set and suppose that if we are having already the data set then we can read like this it reads csv and through this we can run and after that also if you need to showcase the data five then you can see this particular okay you can see this particular so you can perform each and every task through this okay you can perform each and every task through this just like this import the pandas hvd so if you need to showcase like this both the things are given the same answer okay both the things are given at the same answer so that much data set is there so we need to run it like this if you need to read the json file okay json is the one kind of file is there where the all the information is there okay all the information is there so you can read the json read json file also okay read the json file also okay so the same thing they are doing okay if we are having the different kind of file if we are having the csv file then we are having the we need to run or we need to call the csv file otherwise we need to run the json file over here okay we need to run the json file over here okay now if we need to perform the we need to analyze the data okay suppose that we suppose that this complete other data set and if we need to showcase if we need to showcase the 10 file first 10 file okay sorry first 10 though then you can see uh yes it is reading the xml file but the thing is different the command is different okay can we read json file yes hundred percent but you need to have a date json file subsequently in json file so you need to download then only you need to upload and you can work over there yes it can read the xml file also the python is the capability to read each and every file okay but the command is different okay or the syntax is different but in the machine learning our major task is to read the csv file only or the json file that's it okay yes you can do anything okay you can perform anything the json file is just like uh here you can see i if i have any json file then data dot json okay simple this is the lightweight text file is there okay so if something okay although the information is same okay yeah it is there the json file is looks like this here you can see okay here you can see all the complete information is inside this so this is just like a json file that you had created in the notepad okay that means all the information id name executive edge so this is also comes in the data set okay scoby data set where we can use okay so that is the json file okay so if we need to perform and if we need to see the head also if you need to see the head if we are we are not writing the 10 here then only the pipe entry we can so okay pipe entry we can json file is like the yes we can say it is like the python dictionary but it is not having the python dictionary okay uh about json json file is having the complete metadata information in the javascript file okay where we can it is just like a text-based file that what just like whatever i'm writing in the uh text the similarly we can write in the specific format so that we can read that particular data and that particular file is called as the json file any use case or the example when to use hundred percent whenever you need to perform any kind of task through the machine learning that data set plays the important role so first thing is that we need to acquire the data set once we are acquiring the data set we need to upload the data set then only we can analyze or manipulate the data set okay manipulate the data set so it is there so the data set is really the important one the first thing is that we need to deal with the numeric value then we need to deal it with the file okay or we need to deal it with the data set that's why the pandas plays the important role in this particular okay so json json okay it is the file format okay just like csv just like xml just like the xml just like the dot py the similar thingy dot json okay it's the data type where the text where best information are put it over there so that we can call okay but the measuring the numeric value are stored in the either in the csv format or in the json format so we can call and we can work from the different kind of analysis over there yes based on the index okay based on the index is just like a dictionary in the python okay but it is not the same thing but it is the looks like the similar kind of one okay so this is the pandas library so in the pandas you can perform the different kind of thing over there we can see the tail okay here we can write the head here we can tell the right the tail tail means last row last five row we can see okay if we need to see the ten row then we can write like this okay last ten so we can so this is how we can perform the analysis okay this is how we can perform the analysis okay so this is there if you need to describe the data set so df dot describe then you can see okay the df dot describe that means whatever the data we are having what are the count is there what is the mean of this what are the standard deviation what is the top 25 top 50 that means complete thing is there okay top 5 will be ahead but last 5 can lead the 10 and whatever things we need to write everything like this if we do not mention any value yes it will showcase the top five if you can try it then begins so that is all about the pandas as well as the numpy so i'll share this complete word file with you so that you can help okay i'll upload that particular file on your system on your model right now i'll i'll upload okay once the class is over i'll upload that particular things over your model so that you can perform the practice of the number as well as the pandas okay how can check the data type of the column okay you can you can check you can check the data type of the particular column also okay it's a again yeah just like a this particular thing you can see okay you can see carga is object model is object while the volume is integer weight is integer and co2 is again integer yes i'll upload the right now you are not able to see request to upload the lecture notes okay yes i'll upload i'll upload everything i'll make it just wait okay just wait i need to stop sharing and i need to perform just wait for that can i upload this particular things over the i'll upload on the chat box okay i'll upload on the chat box so that you can able to share this particular thing wait i'll upload okay yes okay so i had uploaded i uploaded you can get in the just me yes previous class also i love okay yeah i had uploaded in the chat box you will get the things okay okay so that's it from my side you can make that particular things and that is done from my side okay so thank you all we'll meet in the next class okay yeah thank you all thank you okay to practice thank you thank you thank you all