🌈 搜索
📅  最后修改于: 2022-03-11 15:04:39.885000             🧑  作者: Mango
>>> df1_transposed = df1.T # or df1.transpose() >>> df1_transposed 0 1 col1 1 2 col2 3 4