📜  pandas xlsx 到 csv - Python 代码示例

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

代码示例1
import pandas as pd
data_xls = pd.read_excel('excelfile.xlsx', 'Sheet2', dtype=str, index_col=None)
data_xls.to_csv('csvfile.csv', encoding='utf-8', index=False)