Challenge
Try to apply the aquired knowledge to fix the first problematic column.
Oppgave
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:
- Select the
'totinch'
column. - Apply the
str
accessor to the chosen column. - Replace the
,
symbols in the column values with the.
. - Convert type to
float
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 5
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
Awesome!
Completion rate improved to 2.56
Challenge
Sveip for å vise menyen
Try to apply the aquired knowledge to fix the first problematic column.
Oppgave
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:
- Select the
'totinch'
column. - Apply the
str
accessor to the chosen column. - Replace the
,
symbols in the column values with the.
. - Convert type to
float
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 2.56Seksjon 1. Kapittel 5
single