用Python编写程序以转置给定DataFrame中的索引和列