Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
The Data Analysis Workshop

You're reading from  The Data Analysis Workshop

Product type Book
Published in Jul 2020
Publisher Packt
ISBN-13 9781839211386
Pages 626 pages
Edition 1st Edition
Languages
Authors (3):
Gururajan Govindan Gururajan Govindan
Profile icon Gururajan Govindan
Shubhangi Hora Shubhangi Hora
Profile icon Shubhangi Hora
Konstantin Palagachev Konstantin Palagachev
Profile icon Konstantin Palagachev
View More author details

Table of Contents (12) Chapters

Preface
1. Bike Sharing Analysis 2. Absenteeism at Work 3. Analyzing Bank Marketing Campaign Data 4. Tackling Company Bankruptcy 5. Analyzing the Online Shopper's Purchasing Intention 6. Analysis of Credit Card Defaulters 7. Analyzing the Heart Disease Dataset 8. Analyzing Online Retail II Dataset 9. Analysis of the Energy Consumed by Appliances 10. Analyzing Air Quality Appendix

Data Preparation and Feature Engineering

Once you have loaded and cleaned your data, you need to prepare it so that it's in a format that you can use to perform data analysis. Along with this, you need to identify features that will help you understand your data better and provide significant insights. These processes involve modifying already existing features and transforming them into new features.

For example, in the previous exercise, we saw that the dataset contains a date column consisting of day, month, and year. We can use this information to determine which months of the year were most popular for the online retail store. In order to do this, we need to modify the date column by breaking it down into columns such as day, month, year, and so on.

When preparing data for machine learning models, categorical features must be transformed into a numerical format so that the models can learn from them. However, since we are just going to be analyzing the data, we can...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}