Selecting Data Based on Condition
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.
Завдання
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_filtered
dataset.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 3.03
Selecting Data Based on Condition
Свайпніть щоб показати меню
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.
Завдання
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_filtered
dataset.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Awesome!
Completion rate improved to 3.03Секція 2. Розділ 2
single