import pandas as pd
data = pd.read_excel('微调查.xlsx')
col_list = data.columns.to_list() #提取问卷的属性名称列表
danxuan_list = []
# 找出属性名中包含“单选题”字样的属性
for i in col_list:
if '单选题' in i:
danxuan_list.append(i.strip())
import pandas as pd
data = pd.read_excel('微调查.xlsx')
col_list = data.columns.to_list() #提取问卷的属性名称列表
danxuan_list = []
# 找出属性名中包含“单选题”字样的属性
for i in col_list:
if '单选题' in i:
danxuan_list.append(i.strip())