Adding metadata / identifier data to a CSV file?

前端 未结 3 723
一向
一向 2021-02-12 23:42

Is there a way to add a \"tag\" (add a unique metadata/identifier) to a CSV file without affecting the contents or ability to read/write the file?

I am using Python, but

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-13 00:41

    This would be compliant with W3C embedded metadata format: http://www.w3.org/TR/tabular-data-model/#embedded-metadata

    #publisher,W3C
    #updated,2015-10-17T00:00:00Z
    #name,sensor,temperature
    #datatype,string,float
    sensor,temperature
    s-1,25.5
    

提交回复
热议问题