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...
版权所有 ©2023-2025 051e.com
ICP备案号:京ICP备12030808号