三剑客
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
DataFrame设置行索引
set_index
DataFrame.head()
![](https://img.haomeiwen.com/i13530319/86531bf01b05dfda.png)
DataFrame.set_index('Date', inplace=True)
![](https://img.haomeiwen.com/i13530319/ea42f5f61274be06.png)
DataFrame.head()
查看前五行数据
DataFrame.shape()
查看数组维度
DataFrame.dtypes()
查看数据类型
网友评论