Chapter 4. Data wrangling: from capture to domestication

This chapter covers

  • Ways to wrangle data
  • Helpful tools and techniques
  • Some common pitfalls

One definition of wrangling is “having a long and complicated dispute.” That sounds about right.

Data wrangling is the process of taking data and information in difficult, unstructured, or otherwise arbitrary formats and converting it into something that conventional software can use. Like many aspects of data science, it’s not so much a process as it is a collection of strategies and techniques that can be applied within the context of an overall project strategy. Wrangling isn’t a task with steps that can be prescribed exactly beforehand. Every case is different and takes some problem solving ...

Get Think Like a Data Scientist: Tackle the data science process step-by-step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.