📌  相关文章
📜  python 从数据框中选择列名 - Python 代码示例

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

代码示例1
# Import pandas package  
import pandas as pd  
    
# making data frame  
data = pd.read_csv("nba.csv")  
  
# iterating the columns 
for col in data.columns: 
    print(col)