liveBook · Manning

Data wrangling

As explained in Delivering Machine Learning Projects: From design to deployment

Data wrangling is the process of restructuring, cleaning, and transforming data into a form suitable for analysis or modeling.

Data wrangling turns transaction records spread across many tables into a usable view of inventory or customer status on a particular day. Establish this work before estimating an analysis or modeling project: the apparent volume of records does not show how much effort it will take to make them usable. section 3.5

Separate data-volume questions from data-quality questions. In the Bike Shop example, roughly 30 million transaction lines span five years, but the older three years are noisy legacy data; only the latest two years come from a clean source. section 3.5

Table 3.2 The risk register for The Bike Shop ML project (view table figure)

Risk ID

Description

Status

Owner

TBS1

Unavailable open-source weather/economy data of high quality

Open

You

TBS2

Insufficient customer behavior history due to data cleanse

Open

You

TBS3

Unavailable data science resource

Open

You

The risk register flags insufficient customer behavior history after a data cleanse—a reminder to check whether cleaner records still provide enough history for the intended work. section 3.5

How Delivering Machine Learning Projects: From design to deployment covers it

How deep it goes
Identifies table fragmentation, scale, and uneven quality as challenges without specifying transformation steps or code.
Examples
Uses five years of Bike Shop transactions split between noisy legacy records and a cleaner recent source.
What you can do after
Evaluate/understand it as a delivery risk when estimating work from transaction samples.
How it connects
Links data wrangling to transaction data, data quality, customer history, and project estimation.

Also explained in

Compare how 5 books explain data wrangling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Delivering Machine Learning Projects: From design to deployment. The section links point to the parts of the book it draws on.