mirror of
https://github.com/ChuXunYu/OfficeFileHandle.git
synced 2026-01-31 10:11:25 +00:00
Initial commit
This commit is contained in:
4
xlsx2csv/xlsx2csv.py
Normal file
4
xlsx2csv/xlsx2csv.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import pandas as pd
|
||||
# 自动处理了中文编码,避免乱码
|
||||
df = pd.read_excel("1.xlsx")
|
||||
print(df.to_csv(index=False))
|
||||
Reference in New Issue
Block a user