Abschnitt 1. Kapitel 21
single
Selecting by Condition
Swipe um das Menü anzuzeigen
To excel in programming, you always need to practice. So, in this task, you must also memorize functions from the previous chapter. If you aren't solid on the functions from the last chapter, look at the hints to revise them.
Aufgabe
Swipe to start coding
- Extract all rows from the columns
'name' and'hazardous'using the.loc[]attribute. - Filter data; extract rows where
'hazardous'is True. - Output the first five rows of the
data_filtereddataset.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 21
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen