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

Discover more from Isaac Gazmararian

Subscribe now to keep reading and get access to the full archive.

Continue reading