pandas 读取 excel 时指定某些列
单列
其中B
就代表excel表中的列索引
standard_word = pd.read_excel('合并.xlsx', usecols='B')
多列
其中C:AK
就代表excel表中的列索引
generalized_word = pd.read_excel('合并.xlsx', usecols='C:AK')
其中B
就代表excel表中的列索引
standard_word = pd.read_excel('合并.xlsx', usecols='B')
其中C:AK
就代表excel表中的列索引
generalized_word = pd.read_excel('合并.xlsx', usecols='C:AK')