
Explore how pandas enables data querying, transformation, aggregation, and visualization in Python. Build skills with data frame and series, index setup, and using Jupyter notebooks for analysis.
Installing Python and Pandas
This course assumes you already know the basics of the Python programming language and have installed it on your machine. That said, complete instructions for installing both Python, Pandas and Jupyter Notebook are given in the attached PDF document. The instructions walk you through installing the Miniconda distribution and then the other data science packages including Pandas and Jupyter Notebook.
If you already have Python installed
If you would like to keep using your current Python installation then install Pandas and Jupyter Notebook with the following depending on whether you are using pip or conda as your package manager:
pip install pandas jupyter
conda install pandas jupyter
Download the course material by clicking the resources button and the link, unzip the contents, and move the folder to a preferred location. Organize materials in a data courses directory.
Explore the master data analysis with Python course contents, focusing on intro to pandas and selecting subsets of data in Jupyter notebooks, with a data folder.
Open the material with a Jupyter notebook to read text, enter and run code, and take notes; navigate from the terminal to the Dundar data courses folder for pandas notebooks.
Master Jupiter notebooks for Python data analysis by using code and markdown cells, edit and command modes, and keyboard shortcuts for efficient execution.
Launch a Jupyter notebook to work through the course material, execute cells in order, edit notebooks, add your own code, and complete end-of-notebook exercises while reviewing solutions.
Learn when to start a new notebook as you progress through multiple videos per notebook, using milestone cues like 'welcome to notebook number X' to guide transitions.
Pandas is a popular open-source Python data exploration library that enables exploring, querying, transforming, aggregating, and visualizing tabular data.
Explore practical pandas concepts through a bike rentals dataset and stock time series, including filtering, aggregation by groups, mean calculations, rounding, pivot tables, merges, and visualizations.
Introduce the data frame and series in pandas, show how to read csv data with read_csv, and preview data with head and tail on a 50,000-row bike rides dataset.
Explore the three core data frame components: columns, index, and data, and how labels and axis organize row and column values in pandas.
Learn how to select a single column from a data frame with square brackets to obtain a pandas series, verify its type, and view its head and tail.
Explore pandas basics by selecting a column as a series, viewing its first 10 values, confirming its type, and extracting the last two rows of a bikes data frame.
Discover how to get help in a Jupyter notebook for Pandas: use tab completion for columns and attributes, and Shift+Tab to view documentation and parameter details.
Complete the data types and missing values notebook exercises by verifying that the types attribute returns a series and the shape attribute returns a tuple, saving types output to s.
Explore pandas data types in data frames and series, including booleans, integers, floats, objects, date times, and string type. Learn about missing values (NaN, NaT) and a single missing-value representation.
Use pandas types attribute to identify each column’s data type, revealing object, integers, floats, and date time columns; convert date times by using the read_csv dates parameter.
Explore how to retrieve more metadata from a data frame by inspecting shape, size, and length. Use the info method to reveal data types, missing values, and memory usage.
Complete the exercises by confirming that the types attribute returns a series and the shape attribute returns a tuple, and by verifying with the type function and saving the output.
Set a meaningful index for a data frame using the set index method by choosing a unique column, assign the result to a new variable, and note in-place options.
Explore how pandas assigns a default range index to every data frame, starting at zero, mirroring a Python range object and saving memory.
Discover how to choose a good index in pandas by prioritizing unique and descriptive values, using set_index with verify_integrity to enforce uniqueness.
Learn to read the movie dataset with pandas, set the title as the index, decide whether to drop or keep it as a column, and retrieve the last ten rows.
Master a five-step data exploration process in pandas within a Jupyter notebook by using a single-line cell, verifying output, assigning results to a variable, and viewing the head.
Continue mastering pandas by learning how to select subsets from dataframes using brackets, boolean selection, and filtering with the query method, with 100+ exercises and a free 50-question certification exam.
Master Data Analysis with Python - Intro to Pandas targets those who want to completely master doing data analysis with pandas. This course provides an introduction to the two primary pandas objects, the DataFrame and Series. This is a brand new free course updated for the latest version of pandas.
This course is taught by expert instructor Ted Petrou, author of the highly-rated text books Pandas Cookbook and Master Data Analysis with Python. Ted has taught over 1,000 hours of live in-person data science courses that use the pandas library. Pandas is a difficult library to use effectively and is often taught incorrectly with poor practices. Ted is extremely adept at using pandas and is known for developing best practices on how to use the library.
All of the material and exercises are written in Jupyter Notebooks available for you to download. This allows you to read the notes, run the code, and write solutions to the exercises all in a single place.
This course targets those who have an interest in becoming experts and completely mastering the pandas library for data analysis in a professional environment. This course does not cover all of the pandas library, just a small and fundamental portion of it. If you are looking for a brief introduction of the entire pandas library, this course is not it. It takes many dozens of hours, lots of practice, and rigorous understanding to be successful using pandas for data analysis in a professional environment.
Intro to Pandas is first in the Master Data Analysis with Python series which includes the following sequence of courses:
Intro to Pandas
Selecting Subsets of Data with Pandas
Essential Pandas Commands
Grouping Data with Pandas
Time Series with Pandas
Cleaning Data with Pandas
Joining Data with Pandas
Data Visualization
Advanced Pandas
Exploratory Data Analysis
This course assumes no previous pandas experience. The only prerequisite knowledge is to understand the fundamentals of Python.