Skip to main content
HomeSpark

Introduction to PySpark

Learn to implement distributed data management and machine learning in Spark using the PySpark package.

Start Course for Free
4 hours45 exercises146,786 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

In this course, you'll learn how to use Spark from Python! Spark is a tool for doing parallel computation with large datasets and it integrates well with Python. PySpark is the Python package that makes the magic happen. You'll use this package to work with data about flights from Portland and Seattle. You'll learn to wrangle this data and build a whole machine learning pipeline to predict whether or not flights will be delayed. Get ready to put some Spark in your Python code and dive into the world of high-performance machine learning!
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Big Data with PySpark

Go To Track

Machine Learning Scientist in Python

Go To Track
  1. 1

    Getting to know PySpark

    Free

    In this chapter, you'll learn how Spark manages data and how can you read and write tables from Python.

    Play Chapter Now
    What is Spark, anyway?
    50 xp
    Using Spark in Python
    50 xp
    Examining The SparkContext
    100 xp
    Using DataFrames
    50 xp
    Creating a SparkSession
    100 xp
    Viewing tables
    100 xp
    Are you query-ious?
    100 xp
    Pandafy a Spark DataFrame
    100 xp
    Put some Spark in your data
    100 xp
    Dropping the middle man
    100 xp
  2. 3

    Getting started with machine learning pipelines

    PySpark has built-in, cutting-edge machine learning routines, along with utilities to create full machine learning pipelines. You'll learn about them in this chapter.

    Play Chapter Now
  3. 4

    Model tuning and selection

    In this last chapter, you'll apply what you've learned to create a model that predicts which flights will be delayed.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Big Data with PySpark

Go To Track

Machine Learning Scientist in Python

Go To Track

datasets

AirportsFlightsPlanes

collaborators

Collaborator's avatar
Colin Ricardo
Lore Dirick HeadshotLore Dirick

Director of Data Science Education at Flatiron School

Lore is a data scientist with expertise in applied finance. She obtained her PhD in Business Economics and Statistics at KU Leuven, Belgium. During her PhD, she collaborated with several banks working on advanced methods for the analysis of credit risk data. Lore formerly worked as a Data Science Curriculum Lead at DataCamp, and is and is now Director of Data Science Education at Flatiron School, a coding school with branches in 8 cities and online programs.
See More
Nick Solomon HeadshotNick Solomon

Data Scientist

Nick has a degree in mathematics with a concentration in statistics from Reed College. He's worked on many data science projects in the past, doing everything from mapping crime data to developing new kinds of models for social networks. He's currently a data scientist in the New York City area.
See More

What do other learners have to say?

FAQs

Join over 15 million learners and start Introduction to PySpark today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.