Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Data Manipulation with Pandas Masterclass
Rating: 4.3 out of 5(34 ratings)
1,535 students

Data Manipulation with Pandas Masterclass

Learn the main functions of Pandas for data analysis and visualization in less than 2 hours. Theory and hands-on.
Last updated 5/2021
English
English [Auto],

What you'll learn

  • This is a short masterclass in Pandas, the most famous library for data manipulation in Python.
  • You will learn what Pandas is, and how it can help you load, manage, and transform tabular data.
  • Learn to analyze real world data using Python & Pandas.
  • Import data from multiple sources, clean, reshape, impute and visualize your data.
  • Use Python and Pandas to select, group and summarize your data.
  • Decide what data to keep and what to ignore.
  • Create compelling visualizations using Seaborn and Matplotlib.

Course content

2 sections26 lectures1h 6m total length
  • Introduction4:02

    Explore data manipulation with pandas in this masterclass, handling tabular data and core operations using Google Colab for hands-on labs, alongside Excel and SQL.

  • Agenda0:49

    discover tabular data fundamentals and master pandas operations, then visualize insights with pandas and seaborn, followed by a hands-on practice session.

  • Tabular Data6:19

    Explore tabular data with rows and columns from Excel, CSV, TSV, or databases, and how pandas imports these sources for a data point, features, labels, and categorical versus continuous data.

  • Data Manipulation with Pandas2:33

    master data manipulation with pandas from the 1.0 milestone, using series and data frames, with input/output, selection, filtering, feature engineering, aggregation, pivot tables, joins, and plotting with matplotlib.

  • Data Structures1:25

    Examine data structures in Pandas, comparing the series—one-dimensional with an index—and the data frame—two-dimensional with rows and columns. Learn how selecting a column returns a series within a unified framework.

  • Pandas IO1:16

    Learn how pandas reads data from multiple formats—Excel, Parquet, HTML, JSON, and databases like Google BigQuery and SQL—using read_csv, then exports to formats for sharing.

  • Selections & Filters3:17

    Learn Pandas data selection on a Titanic data frame: single versus double bracket outputs, condition filters with or logic, and row-column selection with loc and iloc.

  • Question: Numpy & Pandas1:29

    Learn when to import numpy with pandas, since pandas loads numpy and data frames can be converted to numbers; use numpy functions like np.log for math not in pandas.

  • Question: Indexes0:55

    Explain zero-indexed range notation in pandas, with start inclusive and end exclusive, using nine to twenty five for rows and two to five for columns.

  • Feature Engineering1:16

    Master feature engineering in pandas by creating new columns and applying element-wise operations, including multiplying by a fixed number and vectorized division of columns.

  • Aggregations2:42

    Explore Pandas aggregations and summary statistics, including mean calculations, group by operations, multiple aggregations with agg, and counting with value_counts for passenger class analysis.

  • Sort & Pivot2:30

    Sort values with sort_values by column and order, then pivot data between long and wide formats and build pivot tables with index, columns, and mean aggregation.

  • Joins1:50

    Learn to join data by concatenating frames with the same shape along axis zero or one, and merge two frames on a key using a left join.

  • Time Series2:04

    Convert a date and time column to datetime objects with pandas to_datetime, yielding timestamps or timedeltas. Set the datetime index for time series plotting, as pandas recognizes datetime indices.

  • Question: in memory0:52

    Discover how in-memory data storage and operations returning new data frames, as seen with joins, limit big data handling when memory runs short.

  • Other Commands2:31

    Explore pandas tools for quick data inspection with head, tail, info, and describe, plus get dummies for categorical encoding and robust null handling, rolling and exponentially weighted moving average analytics.

  • Data Visualization3:46

    Explore data visualization in pandas, using plot, scatter, bar, histogram, area, and violin plots, with seaborn as a high-level, one-line alternative built on matplotlib.

Requirements

  • Previous experience programming in Python is advised to make best use of the masterclass.
  • Some prior experience with tabular data formats such as CSV or Excel is also encouraged.

Description

This masterclass introduces you to concepts and practices for building compelling analyses and dashboards on datasets of any size.  It is designed to be self contained and to be consumed quickly in a single session. It will get you up to speed from zero knowledge of Pandas to understanding how the library operates and using it in several different scenarios.

You will learn:

  • What tabular data is and where you find it

  • How Pandas allows you to load from, and save to, multiple data formats

  • How to use two main components of Pandas: the Series and the DataFrame

  • The main methods to select, group and summarize your data using Pandas

  • How to perform complex operations such as pivot tables and split-apply-combine

  • How to create compelling visualizations using Seaborn and Matplotlib directly from Pandas

The masterclass is designed to maximize the learning experience for everyone and includes 50% theory and 50% hands-on practice. It includes a lab with hands-on exercises and solutions.

No software installation required. You can run the code on Google CoLab and get started right away.

This class is the fastest way to get up to speed in Pandas.

Why Pandas?

Pandas is the most famous data manipulation library and it is used by millions of people every day to analyze and manipulate large datasets. It is mature, robust, easy to use and it has extensive documentation, so it's the perfect entry point for beginners and pros.

Who this course is for:

  • Python enthusiasts that want to deepen their knowledge of data analysis, data manipulation and data visualization.
  • Analysts in finance, insurance, consulting who are pro at Excel and want to start migrating towards Python and Pandas to scale their work.