iloc

Suppose you have a dataframe as the one given below: let us call this dataframe 'var' What would you do, if you want to extract the data from the first…