Access a Group of Rows with loc and iloc

You can access a group of rows by either using loc or iloc.

iloc selects values based on positions while loc selects values based on labels.

My previous tips on pandas.

Scroll to Top