df[col] # 以数组 Series 的形式返回选取的列 df[[col1, col2]] # 以新的数据框(DataFrame)的形式返回选取的列 df.iloc[0,:] # 选取第一行 df.iloc[0,0] # 选取第一行的第一个元素