Contenido del Curso
Is the mushroom poisonous?
Is the mushroom poisonous?
The final data preparation
Tarea
- Create numpy array
X
from dataframeto_concantenate
values using methodvalues
of Pandas DataFrame. - Create numpy array
y
from indexes of dataframeto_concantenate
using methodindex
and then method values on Pandas DataFrame. Method index returns an array of indexes of the dataframe. - For every values in
y
change letter'p'
(poisonous) to0
and'e'
(edible) to1
.
Tarea
- Create numpy array
X
from dataframeto_concantenate
values using methodvalues
of Pandas DataFrame. - Create numpy array
y
from indexes of dataframeto_concantenate
using methodindex
and then method values on Pandas DataFrame. Method index returns an array of indexes of the dataframe. - For every values in
y
change letter'p'
(poisonous) to0
and'e'
(edible) to1
.
Mark tasks as Completed
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?
Tarea
- Create numpy array
X
from dataframeto_concantenate
values using methodvalues
of Pandas DataFrame. - Create numpy array
y
from indexes of dataframeto_concantenate
using methodindex
and then method values on Pandas DataFrame. Method index returns an array of indexes of the dataframe. - For every values in
y
change letter'p'
(poisonous) to0
and'e'
(edible) to1
.
Mark tasks as Completed
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 1. Capítulo 2
AVAILABLE TO ULTIMATE ONLY