1. Learn
  2. /
  3. 课程
  4. /
  5. Python 数据科学入门

Connected

道练习

缩小嫌疑人名单

在第 1 章中,我们找到了几位嫌疑人,他们的车辆与绑架 Bayes 的车辆描述相符:

  • Fred Frequentist
  • Ronald Aylmer Fisher
  • Gertrude Cox
  • Kirstine Smith

我们想进一步缩小名单范围,因此获取了每位嫌疑人的信用卡记录。我们想知道是否有人最近购买了狗零食,可能用于绑架。如果有,他们会去过 'Pet Paradise'。

信用卡记录已加载到名为 credit_records 的 DataFrame 中。

说明 1 / 共 2 个

undefined XP
    1
    2
  • 选择 credit_records 中 location 列等于 'Pet Paradise' 的行。