Fix Python – How are iloc and loc different?

Can someone explain how these two methods of slicing are different?
I’ve seen the docs,
and I’ve seen these answers, but I still find myself unable to understand how the three are different. To me, they seem interchangeable in large part, because they are at the lower levels of slicing.
For example, say we want to get the first five rows of a Data….