三剑客
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
DataFrame设置行索引
set_index
DataFrame.head()
DataFrame.set_index('Date', inplace=True)
DataFrame.head()
查看前五行数据
DataFrame.shape()
查看数组维度
DataFrame.dtypes()
查看数据类型
网友评论