Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas dtodays date csv

import pandas as pd
today = dt.datetime.today().strftime('%m%d%Y') # to set the date in the csv filename
df.to_csv('csv_name_{}.csv'.format(today))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #dtodays #date #csv
ADD COMMENT
Topic
Name
7+1 =