mirror of
https://github.com/ChuXunYu/OfficeFileHandle.git
synced 2026-01-31 00:51:26 +00:00
4 lines
123 B
Python
4 lines
123 B
Python
import pandas as pd
|
|
# 自动处理了中文编码,避免乱码
|
|
df = pd.read_excel("1.xlsx")
|
|
print(df.to_csv(index=False)) |