CSV file formatting doesn't work for GCP BlobWriter
Advertisements I have same data as list of dict and want to import these in a CSV file in a GCP bucket. I’m importing these object as streaming: blob = defaults.bucket.blob(filename) csv_writer = BlobWriter(blob, content_type="text/csv") for data in result.get(‘events’): _source = data.get(‘_source’, {}) csv_writer.write(json.dumps(_source, indent=2).encode(‘utf-8’)) where _source is dict. The actual result in the CSV… Read More CSV file formatting doesn't work for GCP BlobWriter