
Recap : Dates and Calendars
date()class takes a year, month, and day as arguments.weekday()min(), max(), and sort().isoformat() or .strftime() methodsRecap : Combining Dates and Times
datetime() class takes all the arguments of date(), plus an hour, minute, second, and mirosecond.replace()method.total_seconds() method.strptime() and dates into strings with .strftime()Recap : Timezones and Daylight Saving
tzinfo set. Otherwise it is "timezone naive".replace() method to change the timezone of a datetime, leaving the date and time same.astimezone() method to shift the date and time to match the new timezonedateutil.tz provieds a comprehensive, updated timezone databaseRecap : Easy and Powerful Timestamps in Pandas
parse_dates argument to be the list of columns which should be parsed as datetimesparse_dates doesn't work, use the pd.to_datetime() function.groupby().first(), .min() or mean().resample() groups rows on the basis of a datetime column, by year, month, day and so on .tz_localize() to set a timezone, keeping the date and time the same.tz_convert() to change the date and time to match a new timezone