How to select rows in a Pandas dataframe using .iloc[]?

The iloc method from the Pandas library allows you to select rows from a dataframe based on their position by specifying an index.

Example