Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas write csv

from pathlib import Path  
>>> filepath = Path('folder/subfolder/out.csv')  
>>> filepath.parent.mkdir(parents=True, exist_ok=True)  
>>> df.to_csv(filepath)
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #pandas #write #csv
ADD COMMENT
Topic
Name
4+8 =