CommencezCommencez gratuitement

Inspecting a DataFrame

We've loaded the credit card records of our four suspects into a DataFrame called credit_records. Let's learn more about the structure of this DataFrame.

The pandas module has been imported under the alias pd. The DataFrame credit_records has already been imported.


How many rows are in credit_records?

Cette activité fait partie du cours

Introduction to Data Science in Python

Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# Use .info() to inspect the DataFrame credit_records
print(____)
Modifier et exécuter le code