Book Image

Data Wrangling with Python 3.x [Video]

By : Jamshaid Sohail
Book Image

Data Wrangling with Python 3.x [Video]

By: Jamshaid Sohail

Overview of this book

You might be working in an organization, or have your own business, where data is being generated continuously (structured or unstructured) and you are looking to develop your skillset so you can jump into the field of Data Science. This hands-on guide shows programmers how to process information. In this course, you will gather data, prepare data for analysis, perform simple statistical analyses, create meaningful data visualizations, and more! This course will equip us with the tools and technologies, also we need to analyze the datasets using Python so that we can confidently jump into the field and enhance our skill set. The best part of this course is the takeaway code templates generated using the real-life dataset. Towards the end of the course, we will build an intuitive understanding of all the aspects available in Python for Data Wrangling. All codes and supporting files are placed on GitHub at this link: https://github.com/PacktPublishing/-Data-Wrangling-with-Python-3.x
Table of Contents (7 chapters)
Chapter 5
More Data Cleaning and Transformation
Content Locked
Section 2
Encoding/Mapping Existing Values – Part 1
Computers understand numbers. Sometimes machine learning algorithms require columns to be in equivalent numeric form so we will look in this video how we can do that. - Drop the rows which are containing the missing values - Use LabelEncoder from the pre-processing module to encode the gender column values - Add the encoded gender column back into the data frame