📜  遍历行数据框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:09.392000             🧑  作者: Mango

代码示例4
# creating a list of dataframe columns 
columns = list(df) 
  
for i in columns: 
  
    # printing the third element of the column 
    print (df[i][2])