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

Sveip for å vise menyen

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
Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4
Vi beklager at noe gikk galt. Hva skjedde?

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

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
Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt