Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

parsing date columns when reading csv

my_df = pd.read_csv(
    "datasets/my_data.csv", 
    parse_dates=["date"])
Source by projects.datacamp.com #
 
PREVIOUS NEXT
Tagged: #parsing #date #columns #reading #csv
ADD COMMENT
Topic
Name
9+3 =