marsja.se
How to use iloc and loc for Indexing and Slicing Pandas Dataframes
In this extensive tutorial you will learn how to work with Pandas iloc and loc to slice, index, and subset your dataframes, e.g., by row and columns.