尝试转换为以下输出,但似乎有一些错误
""LINK_ID,lon,lat,OPERATION_TYPE,FALLOUT_REASON,ATTRIB_CHANGE,SOURCE_ID" ,,,,,,,,,,,,,,,,,
"
我需要这样的输出:
["LINK_ID", "lon", "lat", "OPERATION_TYPE", "FALLOUT_REASON", "ATTRIB_CHANGE", "SOURCE_ID", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
"]
实际上,我有一个.csv文件,即第一行,第一列,我们有一条语句显示“ LINK_ID XY OPERATION_TYPE FALLOUT_REASON ATTRIB_CHANGE SOURCE_ID”一词之间的空格是制表符,因此在解析时,标题变成我想将其转换为显示为[“ LINK_ID” ...“ SOURCE_ID”]
的数组