开始使用免费开始使用

检查 DataFrame

我们已经将四位嫌疑人的信用卡记录加载到名为 credit_records 的 DataFrame 中。让我们进一步了解这个 DataFrame 的结构。

pandas 模块已用别名 pd 导入。 DataFrame credit_records 已经导入。


credit_records 中有多少行?

本练习是课程的一部分

Python 数据科学入门

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Use .info() to inspect the DataFrame credit_records
print(____)
编辑并运行代码