Book description
Get your raw data cleaned up and ready for processing to design better data analytic solutions
Key Features
- Develop the skills to perform data cleaning, data integration, data reduction, and data transformation
- Make the most of your raw data with powerful data transformation and massaging techniques
- Perform thorough data cleaning, including dealing with missing values and outliers
Book Description
Hands-On Data Preprocessing is a primer on the best data cleaning and preprocessing techniques, written by an expert who's developed college-level courses on data preprocessing and related subjects.
With this book, you'll be equipped with the optimum data preprocessing techniques from multiple perspectives, ensuring that you get the best possible insights from your data.
You'll learn about different technical and analytical aspects of data preprocessing - data collection, data cleaning, data integration, data reduction, and data transformation – and get to grips with implementing them using the open source Python programming environment.
The hands-on examples and easy-to-follow chapters will help you gain a comprehensive articulation of data preprocessing, its whys and hows, and identify opportunities where data analytics could lead to more effective decision making. As you progress through the chapters, you'll also understand the role of data management systems and technologies for effective analytics and how to use APIs to pull data.
By the end of this Python data preprocessing book, you'll be able to use Python to read, manipulate, and analyze data; perform data cleaning, integration, reduction, and transformation techniques, and handle outliers or missing values to effectively prepare data for analytic tools.
What you will learn
- Use Python to perform analytics functions on your data
- Understand the role of databases and how to effectively pull data from databases
- Perform data preprocessing steps defined by your analytics goals
- Recognize and resolve data integration challenges
- Identify the need for data reduction and execute it
- Detect opportunities to improve analytics with data transformation
Who this book is for
This book is for junior and senior data analysts, business intelligence professionals, engineering undergraduates, and data enthusiasts looking to perform preprocessing and data cleaning on large amounts of data. You don't need any prior experience with data preprocessing to get started with this book. However, basic programming skills, such as working with variables, conditionals, and loops, along with beginner-level knowledge of Python and simple analytics experience, are a prerequisite.
Table of contents
- Hands-On Data Preprocessing in Python
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1:Technical Needs
- Chapter 1: Review of the Core Modules of NumPy and Pandas
- Chapter 2: Review of Another Core Module – Matplotlib
- Chapter 3: Data – What Is It Really?
- Chapter 4: Databases
- Part 2: Analytic Goals
- Chapter 5: Data Visualization
- Chapter 6: Prediction
- Chapter 7: Classification
- Chapter 8: Clustering Analysis
- Part 3: The Preprocessing
- Chapter 9: Data Cleaning Level I – Cleaning Up the Table
- Chapter 10: Data Cleaning Level II – Unpacking, Restructuring, and Reformulating the Table
- Chapter 11: Data Cleaning Level III – Missing Values, Outliers, and Errors
- Chapter 12: Data Fusion and Data Integration
- Chapter 13: Data Reduction
-
Chapter 14: Data Transformation and Massaging
- Technical requirements
- The whys of data transformation and massaging
- Normalization and standardization
-
Binary coding, ranking transformation, and discretization
- Example one – binary coding of nominal attribute
- Example two – binary coding or ranking transformation of ordinal attributes
- Example three – discretization of numerical attributes
- Understanding the types of discretization
- Discretization – the number of cut-off points
- A summary – from numbers to categories and back
- Attribute construction
- Feature extraction
- Log transformation
- Smoothing, aggregation, and binning
- Summary
- Exercise
- Part 4: Case Studies
-
Chapter 15: Case Study 1 – Mental Health in Tech
- Technical requirements
- Introducing the case study
- Integrating the data sources
- Cleaning the data
-
Analyzing the data
- Analysis question one – is there a significant difference between the mental health of employees across the attribute of gender?
- Analysis question two – is there a significant difference between the mental health of employees across the Age attribute?
- Analysis question three – do more supportive companies have mentally healthier employees?
- Analysis question four – does the attitude of individuals toward mental health influence their mental health and their seeking of treatments?
- Summary
- Chapter 16: Case Study 2 – Predicting COVID-19 Hospitalizations
- Chapter 17: Case Study 3: United States Counties Clustering Analysis
- Chapter 18: Summary, Practice Case Studies, and Conclusions
- Other Books You May Enjoy
Product information
- Title: Hands-On Data Preprocessing in Python
- Author(s):
- Release date: January 2022
- Publisher(s): Packt Publishing
- ISBN: 9781801072137
You might also like
book
Python for Data Science
Python is an ideal choice for accessing, manipulating, and gaining insights from data of all kinds. …
book
Python for Geospatial Data Analysis
In spatial data science, things in closer proximity to one another likely have more in common …
book
Machine Learning for Time-Series with Python
Get better insights from time-series data and become proficient in model performance analysis Key Features Explore …
book
Introduction to Machine Learning with Python
Machine learning has become an integral part of many commercial applications and research projects, but this …