python pandas 读取,保存数据

#每天一点点#
python pandas 读取,保存数据

#pandas 读取数据
read_csv
read_excel
read_hdf
read_sql
read_json
read_magpack
read_html
read_gbq
read_stata
read_sas
read_clipboard
read_pickle

#保存数据
to_csv
to_excel
to_hdf
to_sql
to_json
to_magpack
to_html
to_gbq
to_stata
to_sas
to_clipboard
to_pickle

import pandas as pd

data = pd.read_excel(r'C:\Users\成绩.xlsx') #文件所保存的路径

你可能感兴趣的:(python基础)