state differences between iloc and loc?
Answers
Answered by
1
Answer:
The main distinction between loc and iloc is:
loc is label-based, which means that you have to specify rows and columns based on their row and column labels.
iloc is integer position-based, so you have to specify rows and columns by their integer position values (0-based integer position).
Explanation:
hope it helps you
Answered by
0
loc is label-based, which means that you have to specify rows and columns based on their row and column labels.
loc is label-based, which means that you have to specify rows and columns based on their row and column labels.iloc is integer position-based, so you have to specify rows and columns by their integer position values (0-based integer position).
Similar questions