Charles Kelly explains how to select information from Pandas data frames and series.
- [Teacher] The selection file from your exercise's…file folders is pre-populated with import statements…for pandas and numpy, a numpy data set,…a data time index, and a sample data frame.…The purpose of this video is to provide examples…of selecting information from a data frame.…The pandas' developers provide this warning:…while standard Python/Numpy expressions for selecting…and setting are intuitive and come…in handy for interactive work,…for production code, we recommend the…optimized pandas data access methods.…
Begin by placing your cursor in the import cell…press shift enter, this creates pd as a name space…for pandas and np as a name space for numpy.…Execute this cell as well, this initializes the information…within our sample data frame.…Now we'll look at selecting column information,…or selecting information by column.…That is, we'll select every row within a particular column.…For example, if we use our sample data frame,…and then we index it with C,…the information that we receive is…all of the information from column C above for every row,…
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?
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.