Welcome! I'm HTMLOnline, your Data and automation with Python learning companion.
We explain new ideas in plain language, practise repeatedly and build useful projects. Basic Python variables, loops and functions are recommended; the first section provides a practical review.
Clear learning order Practise every chapter Projects and exams
Data and automation with Python STARTER EXAMPLEread → validate → transform → report → verifyYour first useful result is only a few careful steps away.
Checking progress…
EXPLORE BEFORE YOU START
Data and Automation with Python Path: course outline
Use Python with CSV, Excel, Pandas, APIs, charts and scheduled workflows to automate repetitive data work.
8 sections · 64 chapters · 16 project chapters
Before you begin
Basic Python variables, loops and functions are recommended; the first section provides a practical review.
You can read this outline without signing in or completing onboarding. Start with the welcome screen above when you are ready to practise. Use a current browser; a keyboard and larger screen can make longer coding tasks easier, but the lesson interface also adapts to phones.
Practice and assessment
The in-page coding tasks use pattern checks to confirm required pieces. They do not replace installing the relevant framework, design application, Python environment or hosted service for full execution. Each section includes guided practice, projects and a ten-question exam.
Read an explanation, study the example, try the task and review feedback. Keep your own project files and test them in their intended environment. Completing an activity or a course certificate is not an accredited qualification or a guarantee of employment.
What each section covers
Expand a section to read its chapters and projects. This is the actual course curriculum, not a separate list of promised future topics.
01Python for repeatable office work8 chapters
Review Python through file paths, functions and safe repeatable scripts.
Section outcome: Create a command-line automation with clear inputs and outputs.
Paths and files
Locate inputs safely and avoid overwriting the wrong file.
Functions and modules
Separate reading, transformation and output responsibilities.
Practice lab: Functions and modules
Rebuild and vary the functions and modules example until every important piece feels familiar.
Errors and logging
Report enough context to diagnose a failed run.
Configuration
Keep dates, folders and business rules outside repeated code.
Practice lab: Configuration
Rebuild and vary the configuration example until every important piece feels familiar.
Mini project: Safe file organiserProject
Copy and classify sample files without deleting originals.
Unit project: Configurable batch processorProject
Process an input folder with logs, error handling and a summary.
02CSV and Excel automation8 chapters
Read tabular files, preserve important types and write useful workbooks.
Section outcome: Combine monthly files into a checked workbook report.
CSV dialects and encoding
Handle delimiters, quotes and text encodings without silently corrupting values.
Excel sheets and cells
Read and write workbooks while respecting headers, dates and formulas.
Practice lab: Excel sheets and cells
Rebuild and vary the excel sheets and cells example until every important piece feels familiar.
Combining files
Align columns and retain source information across batches.
Formatting and export
Produce readable tables without hiding the raw data.
Practice lab: Formatting and export
Rebuild and vary the formatting and export example until every important piece feels familiar.
Mini project: Workbook sheet summaryProject
List sheets, row counts and missing headers from a sample workbook.
Unit project: Monthly file combinerProject
Validate, combine and export a folder of recurring spreadsheets.
03Pandas data analysis foundations8 chapters
Select, group, join and summarise tables with explicit assumptions.
Section outcome: Produce verified grouped summaries from a real-looking dataset.
DataFrames and dtypes
Inspect the shape and stored types before calculation.
Filtering and grouping
Select relevant records and aggregate by meaningful categories.
Practice lab: Filtering and grouping
Rebuild and vary the filtering and grouping example until every important piece feels familiar.
Merging tables
Join related datasets while checking unmatched and duplicated keys.
Dates and time series
Parse dates deliberately and group by useful periods.
Practice lab: Dates and time series
Rebuild and vary the dates and time series example until every important piece feels familiar.
Mini project: District summary tableProject
Calculate counts, totals and averages by district.
Unit project: Sales analysis notebookProject
Explore, join and report a multi-table monthly dataset.
04Data cleaning and validation8 chapters
Detect missing, duplicated, malformed and implausible values before reporting.
Section outcome: Create a cleaning pipeline with an auditable rejection report.
Missing values
Distinguish truly missing data from valid zeros or empty categories.
Duplicates and identifiers
Define what makes a record duplicate before removing it.
Practice lab: Duplicates and identifiers
Rebuild and vary the duplicates and identifiers example until every important piece feels familiar.
Type and range validation
Reject or flag values outside agreed formats and boundaries.
Cleaning logs and reproducibility
Record every rule and how many rows it changed.
Practice lab: Cleaning logs and reproducibility
Rebuild and vary the cleaning logs and reproducibility example until every important piece feels familiar.
Mini project: Data quality profileProject
Report missing, unique, invalid and duplicate counts by column.
Unit project: Auditable cleaning pipelineProject
Clean a messy dataset and export clean data, rejected rows and a rule summary.
05Web APIs and responsible collection8 chapters
Retrieve permitted data with authentication, pagination and respectful limits.
Section outcome: Build a cached API importer that survives partial failure.
Requests and JSON
Check response status and validate expected response fields.
Authentication and secrets
Keep API keys outside source and logs.
Practice lab: Authentication and secrets
Rebuild and vary the authentication and secrets example until every important piece feels familiar.
Pagination and rate limits
Follow continuation information and slow down when required.
Caching and provenance
Record when and where data was retrieved and avoid unnecessary calls.
Practice lab: Caching and provenance
Rebuild and vary the caching and provenance example until every important piece feels familiar.
Mini project: Paginated importerProject
Collect mock pages while respecting a rate-limit response.
Unit project: Cached public-data collectorProject
Retrieve, validate, cache and document an allowed API dataset.
06Charts and automated reports8 chapters
Choose truthful visual encodings and generate readable reports repeatedly.
Section outcome: Create a branded report with charts, tables and plain-language findings.
Choosing a chart
Match position, length, colour and scale to the comparison being made.
Matplotlib and labels
Create readable figures with units, sources and accessible colour choices.
Practice lab: Matplotlib and labels
Rebuild and vary the matplotlib and labels example until every important piece feels familiar.
Excel and PDF reporting
Combine tables, charts and narrative in the format stakeholders use.
Narrative and uncertainty
State what the data supports and what it cannot prove.
Practice lab: Narrative and uncertainty
Rebuild and vary the narrative and uncertainty example until every important piece feels familiar.
Mini project: Chart choice clinicProject
Create and critique two charts for the same data question.
Unit project: Automated management reportProject
Generate tables, charts, notes and exports from cleaned data.
07Scheduling and dependable automation8 chapters
Run scripts repeatedly without duplication, silent failure or uncontrolled side effects.
Section outcome: Schedule an idempotent workflow with notifications and recovery.
Idempotent workflows
Make rerunning safe by avoiding duplicated output and irreversible surprise.
Scheduling and parameters
Separate the execution schedule from date and folder logic.
Practice lab: Scheduling and parameters
Rebuild and vary the scheduling and parameters example until every important piece feels familiar.
Notifications and failure handling
Report success or failure to the responsible person with useful context.
Tests and dry runs
Validate transformations and preview changes before writing.
Practice lab: Tests and dry runs
Rebuild and vary the tests and dry runs example until every important piece feels familiar.
Mini project: Dry-run file updateProject
Preview renamed or updated files before making changes.
Unit project: Scheduled reporting jobProject
Build a repeatable run with logs, alerts and a recovery guide.
08Automation capstone and handover8 chapters
Combine ingestion, cleaning, analysis, reporting and operations for a real stakeholder.
Section outcome: Deliver a maintainable automated monthly reporting pipeline.
Stakeholder requirements
Define the decision, source files, schedule and acceptance checks.
Pipeline architecture
Separate ingestion, validation, transformation, reporting and delivery.
Practice lab: Pipeline architecture
Rebuild and vary the pipeline architecture example until every important piece feels familiar.
Verification and reconciliation
Compare row counts and totals across stages to detect loss or duplication.
Documentation and training
Explain setup, configuration, failures and manual fallback.
Practice lab: Documentation and training
Rebuild and vary the documentation and training example until every important piece feels familiar.
Mini project: Reconciliation worksheetProject
Prove that accepted and rejected rows account for every source record.
Unit project: Monthly reporting pipelineProject
Automate the full data journey and hand it over with tests and documentation.
Progress, accounts and certificates
Guest progress is saved in this browser on this device. Clearing site data or switching browsers can remove access to that local progress. An optional account can synchronize supported course progress; it is not required to access the lessons. Download or back up project work separately.
Certificates recognize completion of the course activities on this site. They are not university credit, professional accreditation or proof that every program you write is correct.