Pandas 1.0.5 기준 소스 자체에 예제가 잘 정리되어 있어서 발췌함. @property def loc(self) -> "_LocIndexer": """ Access a group of rows and columns by label(s) or a boolean array. ``.loc[]`` is primarily label based, but may also be used with a boolean array. Allowed inputs are: - A single label, e.g. ``5`` or ``'a'``, (note that ``5`` is interpreted as a *label* of the index, and **never** as an integer position along..