Setting dtype when reading data
You are preparing to create a machine learning model to predict a person's income category using the adult census income dataset. You don't have access to any cloud resources and you want to make sure that your laptop will be able to load the full dataset and process its contents. You have read in the first five rows of the dataset adult
to help you understand what kind of columns are available.
This exercise is part of the course
Working with Categorical Data in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Check the dtypes
print(____)