 Hello, welcome to SSUnitex. So, see this side and today we are going to see about the take, first, tail, head and limit functions inside the PySpark. So, let me quickly go inside the browser and we will try to see in practical. So, here I am going to create one of the data frame and in this data frame it will be having two columns with the first name and is. Now, here as I told you we need to check the take function first. So, df. here we can use the take and inside the take we need to specify the numbers like from top how many rows we want. So, let me assume I want total three rows. So, let me use the display of this and as we are taking only three rows from the top. So, James N and Michael will be the output of this take three. So, that we can see James N and Michael. So, take will be going to return the value from the top always. Now, second we have head. So, head is synonym of take. So, it will be also returning the same thing. It is also picking the values from the top and returning how many rows we are specifying under the parameter of head. Now, next will be first. So, what first will do? First will be going to return always top one. So, it will be returning only James that you can see here. So, first is going to return the value of row like this. Now, next we have tail. So, tail will also do the same thing. It is also picking how many rows we want. So, let me assume I want total four rows but tail will be picking from the bottom. So, it will be having total four rows till Michael. So, let me execute and we will see the output of this. So, that we can see from John to Michael, it is turning total four rows from the bottom. Next, let me use the limit. So, limit is also doing the same thing. It will be picking total four rows from the top. So, that we can see James till it's caught. In this video, we have seen about the take, head and limit. So, these three will be doing the same thing and then we have seen about first. So, it is running the first value always and then we have seen about the tail. So, tail is reverse of head. So, I hope guys you have understood how we can use all these functions. So, thank you so much for watching this video. See you in the next video.