Put in order · Python course · Module 8: Data Science

Creating and Exploring a DataFrame

Arrange the steps for working with a DataFrame:

Items to put in order

  • df.info() - column types
  • df.describe() - statistics
  • import pandas as pd
  • df = pd.read_csv('data.csv')
  • df.head() - preview data

You can check the correct answer by solving this task in the CodeWorlds game.