📜  iloc 和 loc 有什么区别 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:46.856000             🧑  作者: Mango

代码示例1
- The .iloc indexer selects only by integer location and works 
similarly to Python lists.

- The .loc indexer selects only by index label, which is 
similar to how Python dictionaries work.