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

Contenu du cours

Introduction to pandas [track]

Introduction to pandas [track]

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

book
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
Tâche

Swipe to start coding

  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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4
toggle bottom row

book
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
Tâche

Swipe to start coding

  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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt