how to merge two cell in csv file

非 Y 不嫁゛ 提交于 2021-01-27 10:20:28

问题


how to merge two cell in csv file like as excel

I want to merge two cell in csv file file as

Header         Id        Name                       mobileNo
Sub-Header     id   first Name last Name     countryCode  MobNumber  

回答1:


This is not possible

  • A comma-separated values (CSV) file stores tabular data (numbers and text) in plain text.
  • It is just data, with no attached formatting or knowledge of how the cells should be merged when the data is imported.

You could use a script maybe like python to merge them, refer this link https://dzone.com/articles/merging-cells




回答2:


You can just keep on adding comma's after a text in one cell to merge it with other cells. It did work for me at least.



来源:https://stackoverflow.com/questions/50488905/how-to-merge-two-cell-in-csv-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!