且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何消除从s-s-rS导出的CSV文件末尾的额外逗号

更新时间:2023-09-03 14:53:22

这是正确的输出,因为csv是一种文本格式,并且通过输出任何内容(空白)来表示 null 值,因此最后一个逗号为空白列值。
That is the correct output, since csv is a text format and denotes null values by outputting nothing (blank) hence the comma blank for the last columns value.