我对熊猫有点新鲜.我有一个1行乘23列的pandas数据框.
我想把它转换成一个系列?我想知道最狡猾的方式是什么?
我试过了,pd.Series(myResults)但它抱怨ValueError: cannot copy sequence with size 23 to array axis with dimension 1.要理解它仍然是数学术语中的"载体",这还不够智能.
pd.Series(myResults)
ValueError: cannot copy sequence with size 23 to array axis with dimension 1
谢谢!
python series dataframe pandas
dataframe ×1
pandas ×1
python ×1
series ×1