Python Day 57 – timestamps

Today I continued with the data wrangling and learned about timestamps.

I learned:

Timestamps are the most basic form of time series data for Pandas. Apparently they’re used in almost all data (usually counting when the data event happened). Their class is a string, however you can convert it to datetime format (so we can do fun Pandas functions with it) with the…

pd.todatetime(date_name.Timestamp, infer_datetime_format=True)

… command.

I am still confused on:

Why I still get the error when trying to find the difference between dates. Also, how much regex syntax do I need to know? Should I go back and try to solve those crosswords that were stumping me?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: