导出到excel时,如何在csv文件中保留分号?

时间:2015-08-10 15:06:44

标签: excel

我有一个csv文件,看起来像:

    "","Var1","Var2","Freq"
    "1","","Cardiovascular_Dx","0:23313  "
    "2","","Cardiovascular_Dx","1: 3315  "

当我将其导出到Excel时,我得到了这个:

        Var2    Freq
   0    Cardiovascular_Dx   0:23313  
   1    Cardiovascular_Dx   2.34375

即:1:3315变为2.34375。有没有办法绕过这种行为?

1 个答案:

答案 0 :(得分:0)

你必须删除

之后的空格
"1:

问候。