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

Conteúdo do Curso

Introduction to pandas [track]

Introduction to pandas [track]

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

Challenge

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

Tarefa

  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.

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 4
toggle bottom row

Challenge

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

Tarefa

  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.

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 4
toggle bottom row

Challenge

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

Tarefa

  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.

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 4
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt