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 |
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 3.33
Challenge
Glissez pour afficher le menu
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 |
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 4
single