buf = BytesIO() with gzip.GzipFile(mode='w', fileobj=buf) as gz_file: df.to_csv(gz_file, sep='\t', encoding="UTF8", index=False)
df.to_csv(csv_buffer, sep='\t', encoding="UTF8", index=False, compression='gzip')
料金に注意:
利用したDPUの数とセッションがアクティブ状態にある時間で課金が発生します。