Conteúdo do Curso
Data Manipulation using pandas
Data Manipulation using pandas
Challenge
Try to apply the aquired knowledge to fix the first problematic column.
Swipe to show code editor
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
.
Obrigado pelo seu feedback!
Challenge
Try to apply the aquired knowledge to fix the first problematic column.
Swipe to show code editor
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
.
Obrigado pelo seu feedback!
Challenge
Try to apply the aquired knowledge to fix the first problematic column.
Swipe to show code editor
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
.
Obrigado pelo seu feedback!
Try to apply the aquired knowledge to fix the first problematic column.
Swipe to show code editor
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
.