For questions about the [pandas] loc indexer. This tag should only be used for questions primarily about pandas loc or the behavior of this indexer. Be sure to also include the [pandas] tag on your question.
The pandas loc
indexer allows for label based data selection from pandas DataFrames on multiple axes simultaneously.
It is primarily used in data Selection by label and Setting data at specific locations in a pandas DataFrame.
There are loc
indexers for both DataFrames and Series.