Challenge
Let's consolidate knowledge!
| Method/Attribute | Description |
|---|---|
.head(n) | Returns the first n rows |
.sample(n) | Returns the n random rows |
.tail(n) | Returns the last n rows |
.columns | Returns columns' names |
Oppgave
Swipe to start coding
- Read the csv file from the following link:
https://codefinity-content-media.s3.eu-west-1.amazonaws.com/67798cef-5e7c-4fbc-af7d-ae96b4443c0a/audi.csvand save in thedfvariable. - Print the first
2rows of thedfDataFrame. - Print
1random row of thedfDataFrame.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.33
Challenge
Sveip for å vise menyen
Let's consolidate knowledge!
| Method/Attribute | Description |
|---|---|
.head(n) | Returns the first n rows |
.sample(n) | Returns the n random rows |
.tail(n) | Returns the last n rows |
.columns | Returns columns' names |
Oppgave
Swipe to start coding
- Read the csv file from the following link:
https://codefinity-content-media.s3.eu-west-1.amazonaws.com/67798cef-5e7c-4fbc-af7d-ae96b4443c0a/audi.csvand save in thedfvariable. - Print the first
2rows of thedfDataFrame. - Print
1random row of thedfDataFrame.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 4
single