我有一个具有以下结构的数据帧:
ID Material Description color size dim color size dim Tech
1 xcv456 Rubber 101 s 32 102 m 34 elastic
我想把它转换成:
ID Material Description color size dim tech
1 xcv456 Rubber 101 s 32 elastic
1 xcv456 Rubber 102 m 34 elastic
我有一个5行5414列的文件,所以我正在尝试自动化程序检测冗余列并将其转换为所需的输出格式的过程。非常感谢您的帮助
用途:
在使用
pd.wide_to_Long
之前需要一点处理相关问题 更多 >
编程相关推荐