pandas取特定列

Scroll Down

import pandas as pd
import numpy as np

#生成最终上传采购单表
#数据源为FBA备货最终生成需求表
def porcharseFinal(csv):
data = pd.read_csv(csv)
data = data[["小组","考虑起订量后最最终采购建议量"]]
print(data)