padas 格式转换 2018-06-05

xlsx转换成csv格式
import pandas as pd
data_xls = pd.read_excel('eg.xlsx', index_col=0)
data_xls.to_csv('eg.csv', encoding='utf-8')

参考
10 Minutes to pandas
http://pandas.pydata.org/pandas-docs/stable/10min.html

http://pandas.pydata.org/pandas-docs/stable/index.html

你可能感兴趣的:(padas 格式转换 2018-06-05)