Pandas reads a column in a sheet of an excel file

You can use the read_excel method of pandas to read the data of a column in a sheet, the code is as follows: data = pd.read_excel('myfile.xlsx', sheet_name = 'Sheet1', usecols='A')

Guess you like

Origin blog.csdn.net/weixin_42577243/article/details/129526198