Genpact Interview Question

Difference between loc and iloc in pandas