danielbeach/data-engineering-practice
danielbeach/data-engineering-practice has 2,969 GitHub stars and 900 forks. GitHot measured +1 stars in 24 hours and +6 in 7 days. Last checked 2026-11-12 12:59 UTC. Last push 2025-01-08.
Data Engineering Practice Problems
实测星标增长
- 24小时
- +1
- 7天
- +6
- 15天
- 更新延迟
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Data Engineering Practice Problems
One of the main obstacles of Data Engineering is the large and varied technical skills that can be required on a day-to-day basis.
*** Note - If you email a link to your GitHub repo with all the completed exercises, I will send you back a free copy of my ebook Introduction to Data Engineering. ***
This aim of this repository is to help you develop and learn those skills. Generally, here are the high level topics that these practice problems will cover.
- Python data processing.
- csv, flat-file, parquet, json, etc.
- SQL database table design.
- Python + Postgres, data ingestion and retrieval.
- PySpark
- Data cleansing / dirty data.
How to work on the problems.
You will need two things to work effectively on most all of these problems.
Dockerdocker-compose
All the tools and technologies you need will be packaged
into the dockerfile for each exercise.
For each exercise you will need to cd into that folder and
run the docker build command, that command will be listed in
the README for each exercise, follow those instructions.
Beginner Exercises
Exercise 1 - Downloading files.
The first exercise tests your ability to download a number of files
from an HTTP source and unzip them, storing them locally with Python.
cd Exercises/Exercise-1 and see README in that location for instructions.
Exercise 2 - Web Scraping + Downloading + Pandas
The second exercise
tests your ability perform web scraping, build uris, download files, and use Pandas to
do some simple cumulative actions.
cd Exercises/Exercise-2 and see README in that location for instructions.
Exercise 3 - Boto3 AWS + s3 + Python.
The third exercise tests a few skills.
This time we will be using a popular aws package called boto3 to try to perform a multi-step
actions to download some open source s3 data files.
cd Exercises/Exercise-3 and see README in that location for instructions.
Exercise 4 - Convert JSON to CSV + Ragged Directories.
The fourth exercise
focuses more file types json and csv, and working with them in Python.
You will have to traverse a ragged directory structure, finding any json files
and converting them to csv.
Exercise 5 - Data Modeling for Postgres + Python.
The fifth exercise
is going to be a little different than the rest. In this problem you will be given a number of
csv files. You must create a data model / schema to hold these data sets, including indexes,
then create all the tables inside Postgres by connecting to the database with Python.
Intermediate Exercises
Exercise 6 - Ingestion and Aggregation with PySpark.
The sixth exercise
Is going to step it up a little and move onto more popular tools. In this exercise we are going
to load some files using PySpark and then be asked to do some basic aggregation.
Best of luck!
Exercise 7 - Using Various PySpark Functions
The seventh exercise
Taking a page out of the previous exercise, this one is focus on using a few of the
more common build in PySpark functions pyspark.sql.functions and applying their
usage to real-life problems.
Many times to solve simple problems we have to find and use multiple functions available from libraries. This will test your ability to do that.
Exercise 8 - Using DuckDB for Analytics and Transforms.
The eighth exercise Using new tools is imperative to growing as a Data Engineer. DuckDB is one of those new tools. In this exercise you will have to complete a number of analytical and transformation tasks using DuckDB. This will require an understanding of the functions and documenation of DuckDB.
Exercise 9 - Using Polars lazy computation.
The ninth exercise Polars is a new Rust based tool with a wonderful Python package that has taken Data Engineering by storm. It's better than Pandas because it has both SQL Context and supports Lazy evalutation for larger than memory data sets! Show your Lazy skills!
Advanced Exercises
Exercise 10 - Data Quality with Great Expectations
The tenth exercise This exercise is to help you learn Data Quality, specifically a tool called Great Expectations. You will be given an existing datasets in CSV format, as well as an existing pipeline. There is a data quality issue and you will be asked to implement some Data Quality checks to catch some of these issues.
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,618 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,859 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,472 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,495 星标