loc and iloc
data.loc[<row indexes>, <column names>]
- can use a number, slice, or list for row
- can only use a list of names for column names
- includes last element
data.iloc[row indexes>, <column indexes>]
- can use a number, slice, or list for row
- can use a number, slice, or list for column indexes
- slicing works like strings, excludes the last element
lost? ~ Index - Data Engineering