Luca Governini
Luca Governini

Reputation: 13

Parsing dates using Pandas

I'm trying to read a column with date and time from csv file and wanted to plot the frequencies of datas per day. I don't actually know how to read them though.

The kind of datas I'm trying to work with

Upvotes: 1

Views: 232

Answers (1)

Tom S
Tom S

Reputation: 631

You'll need to define your initial column as datetime first.

df['created'] =  pd.to_datetime(df['created'])

Upvotes: 1

Related Questions