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

Kursinhalt

Is the mushroom poisonous?

book
The final data preparation

Aufgabe

Swipe to start coding

  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.

Lösung

Mark tasks as Completed
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
AVAILABLE TO ULTIMATE ONLY
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt