df.iloc[0,:]得出的是series
df.iloc[0:1,:]得出的是dataframe
pandas dataframe iloc取series
猜你喜欢
转载自blog.csdn.net/qq_15114041/article/details/85063151
今日推荐
周排行