1. 학습
  2. /
  3. 강의
  4. /
  5. Working with Categorical Data in Python

Connected

연습 문제

Adding categories

The owner of a local dog adoption agency has listings for almost 3,000 dogs. One of the most common questions they have been receiving lately is: "What type of area was the dog previously kept in?". You are setting up a pipeline to do some analysis and want to look into what information is available regarding the "keep_in" variable. Both pandas, as pd, and the dogs dataset have been preloaded.

지침 1/4

undefined XP
    1
    2
    3
    4
  • Print the frequency of the responses in the "keep_in" variable and make sure the count of NaN values are shown.