Charles Kelly explains how to create Pandas series.
- [Instructor] A series is a one-dimensional,…labelled array capable of holding any data type.…The Creating Series file from your exercises…file folder is pre-populated with…import statements for pandas and NumPy.…Execute this cell.…In this video, I'll explain several techniques…for creating pandas series.…In this cell, we create a pandas series…named My Simple Series, using the pandas series function.…As argument, we use a NumPy random array…with five random variates and an index…with A, B, C, D, and E.…
We can display the series by simply typing its name.…When you execute this cell, you'll probably…get different variables since these are random numbers.…We can retrieve the index of a series…by using the index attribute.…In a similar fashion, we can create a series…without an explicit array.…In this case, the index will contain the integers…from zero to n minus one, where n…is the number of elements in the array.…Here I have some simple markdown.…
I'm going to use escape + m to change this…to a markdown cell, and execute it.…
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
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.