Didi Chuxing interview question

How do you select certain rows with .loc?