AttributeError: 'DataFrame' object has no attribute 'sortlevel'

frame.sortlevel(0)

改为
frame.sort_index(0)
posted @ 2021-02-15 07:58  OTAKU_nicole  阅读(177)  评论(0)    收藏  举报