我真的在为谷歌数据准备而苦苦挣扎,因为没有太多关于这方面的信息。
假设我有数据:
{"name":"john","age":21,"dob":"1988-01-01","tags":["a","b"],"address":{"postcode":3122,"state":"vic"},"lineItems":[{"itemID":"item001","unitPrice":1000},{"itemID":"item002","unitPrice":2000}]}
{"name":"aom","age":21,"dob":"1988-02-01","tags":["c","d"],"address":{"postcode":3000,"state":"Vic"},"lineItems":[{"itemID":"item003","unitPrice":3000},{"itemID":"item004","unitPrice":4000}]}
然后我的下一步是将数组展平为行以清理数据。在这种情况下,它将总共创建 4 行。
现在,例如,我不知道如何根据名称合并行。
合并的功能只是合并列。