利用pandas可以轻松读取excel数据,那么如何提取某一列数据呢? 1.excel数据有列名(表头) import pandas as pd tr = pd.read_excel(file_path)['列名'] 2. excel数据为无表头 import pandas as pd tr = pd.read_excel(file_path, header=