Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge | Preprocessing Data: Part I
Data Manipulation using pandas
course content

Kursusindhold

Data Manipulation using pandas

Data Manipulation using pandas

1. Preprocessing Data: Part I
2. Preprocessing Data: Part II
3. Grouping Data
4. Aggregating and Visualizing Data
5. Joining Data

book
Challenge

Try to apply the aquired knowledge to fix the first problematic column.

Opgave

Swipe to start coding

You are given the Statvillage dataset. You need to convert the 'totinch' column' values to float type by replacing commas by dots. Follow the next steps:

  1. Select the 'totinch' column.
  2. Apply the str accessor to the chosen column.
  3. Replace the , symbols in the column values with the ..
  4. Convert type to float.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 5
toggle bottom row

book
Challenge

Try to apply the aquired knowledge to fix the first problematic column.

Opgave

Swipe to start coding

You are given the Statvillage dataset. You need to convert the 'totinch' column' values to float type by replacing commas by dots. Follow the next steps:

  1. Select the 'totinch' column.
  2. Apply the str accessor to the chosen column.
  3. Replace the , symbols in the column values with the ..
  4. Convert type to float.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 5
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt