Data wrangling exercises

· Source: datadoubleconfirm · Field: Technology & Digital — Data Science & Analytics, Artificial Intelligence & Machine Learning · Depth: Novice, quick

Summary

Two sample Jupyter notebooks, released on November 2, 2025, demonstrate practical data wrangling techniques for transforming messy, real-world datasets into clean, usable formats. These notebooks address two distinct data sources: JSON output from the Singapore Department of Statistics (SingStat) Table Builder Developer API and a raw CSV file hosted on GitHub. The examples specifically focus on data related to Singaporean university graduates by course type and sex. The provided resources illustrate essential data cleaning and transformation steps, culminating in a cleaned dataframe ready for visualization, with chart creation code available in the first notebook.

Key takeaway

For Data Scientists or AI Students learning data preparation, you should explore these Jupyter notebooks to gain practical experience with real-world data challenges. Engaging with diverse data formats like JSON API output and raw CSVs, as demonstrated, will solidify your understanding of essential cleaning and transformation steps, directly improving your ability to derive insights from complex datasets.

Key insights

Hands-on practice with diverse, messy datasets is crucial for mastering data wrangling skills.

Principles

Method

The method involves parsing JSON API output and transforming raw CSV files to produce cleaned dataframes suitable for analysis and visualization, exemplified with Singaporean university graduate data.

In practice

Topics

Code references

Best for: Data Scientist, Data Engineer, AI Student

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by datadoubleconfirm.