Learn Before
Concept
Pandas DataFrame Indexing .loc
This method is used for label-based indexing. For example, 5 of 'a'. Notice that in this case 5 is a label of and index not a location. An array or list of labels can be passed to retrieve multiple rows, ['a', 'b', 'c']
0
2
Updated 2021-09-16
Tags
Data Science