Chapter 1:

Data Exploration and Cleaning

Learning Objectives

By the end of this chapter, you will be able to:

  • Perform basic operations in Python
  • Describe the business context of the case study data and its suitability for the task
  • Perform data cleaning operations
  • Examine statistical summaries and visualize the case study data
  • Implement one-hot encoding on categorical variables

This chapter will get you started with basic operations in Python and shows you how to perform data-related operations such as data verification, data cleaning, datatype conversion, examining statistical summaries, and more.


Most businesses possess a wealth of data on their operations and customers. Reporting on these data in the form of descriptive ...

Get Data Science Projects with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.