pandas学习-第1章 pandas基础
文件读取与写入
import pandas as pd
import numpy as np
# 读取
df = pd.read_csv('data/table.csv')
df_txt = pd.read_table('data/table.txt')
df_excel = pd.read_excel('data/table.xlsx')
pd.read_csv('data/Kobe_data.csv',index_col='shot_id').he