se=pd.Series({'ID':'x','a':1,'b':20}) print(se.to_frame()) print(se.to_frame().T)
结果:
0 ID x a 1 b 20 ID a b 0 x 1 20
上一篇 x86架构CPU寄存器介绍
下一篇 RuntimeError: Expected all tensors to be on the same device, but found at least two devices...
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号