Session Ready
Exercise

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.

Instructions 1/4
undefined XP
  • 1
  • 2
  • 3
  • 4
  • Call the correct attribute on the adult DataFrame to review the data types.