1. 读写文件
import pandas as pd data=pd.read_excel('C:/.../stock.xlsx') data2=pd.read_csv('C:/.../stock.csv')
2. 展示前 n 行
data.head(5)
3. 基本信息
data.info
4. 描述性统计
data.describe()
-END
标签:...,PYTHON,pd,csv,data,pandas From: https://www.cnblogs.com/peitongshi/p/16909058.htmlhttps://www.bilibili.com/video/BV1Nq4y1Z7Q8?p=22&vd_source=efad7d657bca9605bbc1590a798ed819