1.5 KiB
1.5 KiB
In [1]:
import pandas as pd
df = pd.read_excel('重新分班模板 (3).xlsx')In [3]:
df.sort_values(by='新班级',inplace=True)In [ ]:
df.to_excel('重新分班模板 (4).xlsx',index=False)[1;31m在当前单元格或上一个单元格中执行代码时 Kernel 崩溃。 [1;31m请查看单元格中的代码,以确定故障的可能原因。 [1;31m单击<a href='https://aka.ms/vscodeJupyterKernelCrash'>此处</a>了解详细信息。 [1;31m有关更多详细信息,请查看 Jupyter <a href='command:jupyter.viewOutput'>log</a>。