Alok GuptaFollowFeb 20, 2021·1 min readloc and iloc function in pythonloc is label-based, which means that you have to specify rows and columns based on their row and column labels. iloc is integer index based, so you have to specify rows and columns by their integer index like you did in the previous exercise.