为什么黏贴入的数据变成字符串类型

如题所述

第1个回答  推荐于2016-06-24
连老师:
1空格改成 . 粘贴进去还是字符串形式。
2另用命令调入也不行,还是遗漏数据问题。如下:

. xmluse f20100926.xml, doctype(excel) clear firstrow
. invalid name
(. is invalid variable name; renaming to var1)
data type of Excel column not consistent
specifying the missing option will import inconsistent values as missing data
while the allstring option will import all as strings
file not Stata format本回答被提问者和网友采纳
第2个回答  2021-04-06

通过格式操作使任意类型的数据转换成一个字符串

相似回答