In addition to the standard indexing operator, [], and attribute operator, there are operators provided in pandas to make the job of indexing easier and more convenient. By label indexing, we generally mean indexing by a header name, which tends to be a string value in most cases. These operators are as follows:
- The .loc operator: This allows label-oriented indexing.
- The .iloc operator: This allows integer-based indexing.
- The .ix operator: This allows mixed label and integer-based indexing.
We'll now turn our attention to these operators.