PySpark Tutorials
Every PySpark tutorial on PySpark.in (54 articles), grouped by topic. Each article covers one subject in depth with runnable examples you can try in the free browser compiler.
Your first DataFrame learning path
Start with basic Python and SQL. Follow the course categories for the full lessons, then use these short guides to practise each DataFrame skill with visible results.
1. Load and inspect data
Understand schemas and try a small CSV parsing example.
2. Transform and clean
Create columns, choose missing-value defaults and define which duplicate should survive.
3. Combine data and inspect partitions
Choose a join that preserves the rows you need, then inspect how rows are partitioned.
Advanced Concepts
Aggregation and GroupBy
Apache Spark Runtime Architecture
DATA ENGINEERING FUNDAMENTALS
DataFrame Basics
- Actions vs Transformations
- Lazy Evaluation in PySpark
- Introduction to Pyspark DataFrames
- DataFrame Creation in Pyspark
- Exploring DataFrames
- Understanding Schema in PySpark
- Rows & Columns in PySpark
- Pyspark Data Types
- Partition Basics
- Dispalying DataFrames
DataFrame Operations
Delta Lake
- Pitfalls of Delta Lake
- Data LakeHouse Architecture
- Read and Write Delta Lake
- Updating and Deleting Data in Delta Lake
- Upsert Data Using MERGE in Delta Lake
- Delta Lake History, Time Travel and Data Recovery
Handling Missing Data
Installation and Setup
Introduction to PySpark
Joins in PySpark
Performance Optimization
PySpark Functions
- Built-in functions
- Aggregate & Array Functions
- String functions
- Date functions
- User-Defined Functions (UDFs)
PySpark SQL
PySpark with AWS
PySpark with JSON/CSV/Parquet
RDD Fundamentals
Real-World Projects
Window Functions
Working with Dates and Timestamps
Run the examples in the free PySpark compiler · Practice challenges · Short answer guides