Pandas轉numpy df = pd.read_excel('lite.xls',0) dfX=df[['A','B']] dfX=df[columnsName] X=dfX.to_numpy() Doc navigation文字分類轉數字代號 →