Common data types
Manipulating and analyzing data with incorrect data types could lead to compromised analysis as you go along the data science workflow.
When working with new data, you should always check the data types of your columns using the .dtypes
attribute or the .info()
method which you'll see in the next exercise. Often times, you'll run into columns that should be converted to different data types before starting any analysis.
In this exercise, you'll first identify different types of data and correctly map them to their respective types.
This exercise is part of the course
Cleaning Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
