pd.Dataframe:
Dataframe是Python中Pandas库中的一种数据结构,它类似excel,是一种二维表。
import pandas as pd
import numpy as np
df1 = pd.Dataframe(np.random.randn(3, 3), index=list('abc'), columns=list('ABC'))
print(df1)
# A B C
# a -0.612978 0.237191 0.312969
# b -1.281485 1.135944 0.862456
# c 2.232805 0.200209 0.028671



