pandas.Index.sortlevel#

Index.sortlevel(level=None, ascending=True, sort_remaining=None)[源代码]#

与Index API的内部兼容性。

对索引进行排序。这是为了与多索引进行比较

参数
ascending布尔值,默认为True

如果按降序排序,则为False

level, sort_remaining are compat parameters
退货
索引