📜  按字典顺序切片熊猫 - Python 代码示例

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

代码示例1
Specifically, .loc[] allows you to select all rows with an index lexicographically
using slice notation. This works only if the index is sorted (.sort_index()).