Home›Library›AI & Data Science

Curated Library

PySpark for Beginners: DataFrames, Spark SQL and Window Functions

A short, code-along introduction to Apache Spark with Python. It covers Spark's architecture, local setup, loading CSV data, working with columns and SQL functions, and sorting, grouping and window functions. It suits Python users who are new to Spark and want a practical start in data engineering.

  • 24 lessons
  • 1h 56m total
  • AI & Data Science
  • English
  • Earns YodaCoins
Lessons byPhilipp Brunenberg on YouTube

Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.

24 lessons1h 56m total
One block per lesson, sized by its length

What You'll Learn

  • Explain what Spark is and how the driver, workers, executors and cluster manager fit together
  • Set up a local PySpark development environment with Python, pip and a virtual environment, and run a first application
  • Load CSV files into DataFrames using the header and schema-inference options, and understand Spark data types
  • Reference and transform columns with the Column class and the Spark SQL functions library, and find what you need in the API reference
  • Write queries using SQL expressions as well as the DataFrame API
  • Sort, group and aggregate DataFrames, and use window functions for more involved use cases

Prerequisites

  • Basic Python programming knowledge
  • Comfort installing software and using a terminal or IDE
  • Basic familiarity with SQL and tabular data helps but is not required

Course Curriculum

24 lessons · 1h 56m

About the Instructor

Philipp Brunenberg

YouTube creator

24 lessons here 1h 56m

The lessons in this course were produced by Philipp Brunenberg and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Philipp Brunenberg is not affiliated with YodaHut.

Visit the channel on YouTube

More in the Library: AI & Data Science