Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

to_csv zip pandas

df.to_csv(path_or_buf = 'sample.csv.gz', compression="gzip", index = None, sep = ",", header=True, encoding='utf-8-sig')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #zip #pandas
ADD COMMENT
Topic
Name
2+7 =