Posts

Showing posts with the label Python

Data Engineering Interview Preparation #4: Modular Transformations and Data Quality Testing with Python and DuckDB

Summary : Learn how to build maintainable data transformation workflows with Python, Pandas and DuckDB. This hands-on Data Engineering post covers composable functions, separation of transformation logic from orchestration, avoiding hidden state, schema standardization, SQL transformations, reference-data joins, deterministic calculations, unit testing and data-quality validation. Data engineering involves more than loading data from source systems and storing it in a database. A maintainable pipeline also needs well-structured transformation logic, predictable outputs, clear data contracts and tests that help detect problems early. In this hands-on exercise, we explore how to design smaller, reusable and testable transformations using Python, Pandas and DuckDB. We start with simple transaction calculations, move into schema standardization and SQL transformations, and then build deterministic functions and unit tests to validate expected behaviour. Run the hands-on Kaggle notebo...

Data Engineering Interview Preparation #3: Building a Financial Data Pipeline with Python, DuckDB and Parquet

Summary : Learn about building a repeatable financial data engineering pipeline using Python, Pandas, NumPy and DuckDB. This post covers deterministic data generation, CSV ingestion, SQL transformations, canonical schema design, data-quality checks, Parquet export, and CSV-versus-Parquet validation. Financial data engineering involves much more than loading records from a CSV file into a database. A reliable pipeline must handle source data consistently, maintain predictable schemas, validate records, and produce outputs that can be used confidently by downstream applications and analytical workflows. In this hands-on exercise, I created a small but practical financial data pipeline using Python, Pandas, NumPy and DuckDB. We start with supplied CSV files, inspect and clean the source data, transform raw trade records into a canonical structure, apply data-quality checks, and export validated data to Parquet. Run the hands-on notebook: DE Interview Prep #3: Financial Data Enginee...

Data Engineering Interview Questions and Answers: Part 1 | Python, Pandas, SQL and DuckDB

Summary : Prepare for data engineering interviews with practical questions and answers covering Python, Pandas, DuckDB SQL, data validation, aggregations, window functions, and reproducible data pipelines. This Part 1 guide includes two hands-on coding challenges: finding the top three users by monthly spending and verifying that Pandas and SQL return equivalent results. Introduction Preparing for a data engineering interview involves more than writing code that produces the correct output. You should also be able to explain your approach, validate assumptions, identify edge cases, and demonstrate that your results are reliable. This post will test essential data engineering concepts through practical questions and coding exercises. You will explore reusable Python functions, data-quality checks, Pandas transformations, DuckDB SQL queries, aggregations, and window functions. You will also solve two hands-on problems. The first identifies the top three users by total spending fo...

Data Engineering Interview Preparation #2: DuckDB SQL, Data Quality and Parquet

Summary : Practice SQL for data engineering with DuckDB and a small network-traffic dataset. This hands-on example covers table creation, filtering, joins, aggregations, window functions, Pandas and SQL result checks, data-quality rules, and a Parquet round trip. SQL is a core tool for data engineers. It helps us explore source data, transform records, build analytical datasets, and check whether pipeline outputs are correct. You do not need to set up a separate database server to practice these patterns. With DuckDB, you can run analytical SQL directly from Python in a Kaggle notebook. In this exercise, we use a small CSV containing network events. Each row includes a timestamp, source IP, destination IP, port, protocol, bytes sent, and event duration. The goal is not just to write queries, but to follow a simple engineering workflow: ingest the data, inspect it, transform it, validate it, and save a verified output. Run the hands-on notebook: Data Engineering Interview Prepara...

Data Engineering Interview Preparation #1: Python, Pandas, SQL and DuckDB

Summary : Start your Data Engineering interview preparation with a practical Kaggle notebook covering Python, Pandas, SQL, DuckDB, data validation and Python/SQL result verification. If you are preparing for a Data Engineering interview, knowing Python and SQL syntax is only the beginning. You also need to understand how data moves through a workflow, how transformations are validated, and how to explain your technical decisions clearly. That is the purpose of Data Engineering Interview Preparation #1 , the first practical asset in my progressive Data Engineering interview-preparation series. This notebook is designed to give learners a low-friction starting point. It uses the Kaggle notebook environment and a small Sales Transactions dataset to connect Python, Pandas and SQL through practical examples. What You Will Learn In this first notebook , you will practice: Python variables and basic data types Lists, indexing, slicing and mutation Dictionaries and nested dicti...

How I Built an Autonomous Agentic AI Software Engineering Platform That Generates Code, Tests, Documentation, and Reviews Automatically

Image
Summary : Traditional AI coding assistants help developers write code faster, but they rarely automate the complete Software Development Life Cycle (SDLC). This post explains how I designed and implemented an autonomous Agentic AI Software Engineering Platform that converts plain-text feature requests into enterprise-grade Java applications, frontend code, automated tests, documentation, and compliance reports using a deterministic multi-agent architecture powered by Agentic frameworks, Python and LLMs. Introduction: Moving Beyond AI Code Completion AI-assisted programming has evolved rapidly over the past few years. Tools like GitHub Copilot and conversational AI assistants have significantly improved developer productivity by generating snippets, explaining code, and suggesting fixes. However, software engineering is much more than writing code. A complete feature requires architecture design, backend development, frontend implementation, automated testing, documentation, val...