Charles Kelly explains how to perform date arithmetic using Pandas series.
- [Lecturer] The Date Arithmetic file…from your Exercises file folder includes narrative…information about date arithmetic and narrative information…about date, time functions.…You can obtain more information about date arithmetic…by navigating to this URL,…and you can obtain information about Date, time, functions…by navigating to this URL.…The file also includes import statements for Pandas,…NumPy and Date, time.…Execute this cell by pressing shirt + enter.…
We can use date, time's now function…to obtain information about the current date.…In this case, you can see that I'm recording this video…on the 16th day of August in 2016,…at 2:12 in the afternoon.…I can use attributes of the now variable to obtain…this information.…In particular, the year is 2016,…the month is the eighth month, August,…the day is the 16th day.…Let's use Pandas now function to obtain the current date,…then calculate the number of days between today…and the beginning of this millennium.…
As an aside, note that this millennium began on the 1st…
Watch this course to gain an overview of Pandas. Charles Kelly helps you get started with time series, data frames, panels, plotting, and visualization. All you need is a copy of the free and interactive Jupyter Notebook app to practice and follow along.
- Using the Markdown language and Jupyter Notebook
- Creating objects
- Selecting objects
- Using operations
- Merging data
- Creating series
- Creating data frames
- Creating panels
- Annotating plots and data frame plots
Skill Level Intermediate
Introduction to Data Analysis with Pythonwith Michele Vallisneri2h 16m Intermediate
NumPy Data Science Essential Trainingwith Charles Kelly3h 54m Intermediate
SQL for Data Reporting and Analysiswith Emma Saunders2h 16m Intermediate
1. Introduction to Notebooks
2. Pandas Overview
4. Data Frames and Panels
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.