Home›Library›AI & Data Science

Curated Library

PySpark with Databricks for Beginners: DataFrames, Transformations and Spark SQL

A hands-on introduction to Apache Spark and PySpark run in Databricks Community Edition. It begins with Spark's background, architecture and workspace setup. It then covers creating, reading, writing, transforming, aggregating and combining DataFrames, and finishes with Spark SQL. It suits aspiring data engineers, analysts and developers who know a little Python or SQL and are new to distributed data processing.

  • 33 lessons
  • 3h 37m total
  • AI & Data Science
  • English
  • Earns YodaCoins
Lessons byPathfinder Analytics 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.

33 lessons3h 37m total
One block per lesson, sized by its length

What You'll Learn

  • Explain how Hadoop led to Spark, and describe Spark's architecture and ecosystem components
  • Set up a Databricks Community Edition workspace, create a compute cluster and work in notebooks and the Databricks file system
  • Create DataFrames with createDataFrame and define schemas using column names, DDL strings and StructType
  • Read and write CSV, JSON, Parquet and Delta Lake data with DataFrameReader and DataFrameWriter, including write modes
  • Select, rename, cast, filter, deduplicate, sort, group and aggregate data, and apply string, math and date/time functions
  • Combine DataFrames, use SQL and conditional expressions, and query data with Spark SQL through temporary views

Prerequisites

  • Basic Python familiarity (variables, functions, lists and dictionaries)
  • Helpful but not required: basic SQL knowledge
  • A free Databricks account to follow the demos

Course Curriculum

33 lessons · 3h 37m

About the Instructor

Pathfinder Analytics

YouTube creator

33 lessons here 3h 37m

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

Visit the channel on YouTube

More in the Library: AI & Data Science