Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
The final data preparation | Is the mushroom poisonous?
Is the mushroom poisonous?
course content

Conteúdo do Curso

Is the mushroom poisonous?

The final data preparation

Tarefa

  1. Create numpy array X from dataframe to_concantenate values using method values of Pandas DataFrame.
  2. Create numpy array y from indexes of dataframe to_concantenate using method index and then method values on Pandas DataFrame. Method index returns an array of indexes of the dataframe.
  3. For every values in y change letter 'p'(poisonous) to 0 and 'e'(edible) to 1.

Tarefa

  1. Create numpy array X from dataframe to_concantenate values using method values of Pandas DataFrame.
  2. Create numpy array y from indexes of dataframe to_concantenate using method index and then method values on Pandas DataFrame. Method index returns an array of indexes of the dataframe.
  3. For every values in y change letter 'p'(poisonous) to 0 and 'e'(edible) to 1.

Mark tasks as Completed
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Tarefa

  1. Create numpy array X from dataframe to_concantenate values using method values of Pandas DataFrame.
  2. Create numpy array y from indexes of dataframe to_concantenate using method index and then method values on Pandas DataFrame. Method index returns an array of indexes of the dataframe.
  3. For every values in y change letter 'p'(poisonous) to 0 and 'e'(edible) to 1.

Mark tasks as Completed
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 2
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt