Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge | Reading and Exploring Data
Introduction to pandas [track]
course content

Course Content

Introduction to pandas [track]

Introduction to pandas [track]

1. Basics
2. Reading and Exploring Data
3. Accessing DataFrame Values
4. Aggregate Functions

bookChallenge

Let's consolidate knowledge!

Method/AttributeDescription
.head(n)Returns the first n rows
.sample(n)Returns the n random rows
.tail(n)Returns the last n rows
.columnsReturns columns' names

Task

  1. Read the csv file from the following link: https://codefinity-content-media.s3.eu-west-1.amazonaws.com/67798cef-5e7c-4fbc-af7d-ae96b4443c0a/audi.csv and save in the df variable.
  2. Print the first 2 rows of the df DataFrame.
  3. Print 1 random row of the df DataFrame.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 4
toggle bottom row

bookChallenge

Let's consolidate knowledge!

Method/AttributeDescription
.head(n)Returns the first n rows
.sample(n)Returns the n random rows
.tail(n)Returns the last n rows
.columnsReturns columns' names

Task

  1. Read the csv file from the following link: https://codefinity-content-media.s3.eu-west-1.amazonaws.com/67798cef-5e7c-4fbc-af7d-ae96b4443c0a/audi.csv and save in the df variable.
  2. Print the first 2 rows of the df DataFrame.
  3. Print 1 random row of the df DataFrame.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 4
toggle bottom row

bookChallenge

Let's consolidate knowledge!

Method/AttributeDescription
.head(n)Returns the first n rows
.sample(n)Returns the n random rows
.tail(n)Returns the last n rows
.columnsReturns columns' names

Task

  1. Read the csv file from the following link: https://codefinity-content-media.s3.eu-west-1.amazonaws.com/67798cef-5e7c-4fbc-af7d-ae96b4443c0a/audi.csv and save in the df variable.
  2. Print the first 2 rows of the df DataFrame.
  3. Print 1 random row of the df DataFrame.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Let's consolidate knowledge!

Method/AttributeDescription
.head(n)Returns the first n rows
.sample(n)Returns the n random rows
.tail(n)Returns the last n rows
.columnsReturns columns' names

Task

  1. Read the csv file from the following link: https://codefinity-content-media.s3.eu-west-1.amazonaws.com/67798cef-5e7c-4fbc-af7d-ae96b4443c0a/audi.csv and save in the df variable.
  2. Print the first 2 rows of the df DataFrame.
  3. Print 1 random row of the df DataFrame.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 4
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt