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

Kursinhalt

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
Aufgabe

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ösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 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
Aufgabe

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ösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt