提交 ed9ab1ec 编写于 作者: 片刻小哥哥's avatar 片刻小哥哥

添加测试文件

上级 0db31a79
import os
import pandas as pd
def main(infile):
outfile = infile.replace(".xlsx", "_result.csv")
df = pd.read_excel(infile, header=None)
# df.to_excel(outfile, header=False, index=False, encoding="utf_8_sig", engine='xlsxwriter')
df.to_csv(outfile, header=False, index=False, encoding="utf_8_sig")
if __name__ == "__main__":
infile = 'data/city.xlsx'
main(infile)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册