Challenge: Clean and Transform Device Data
Завдання
Swipe to start coding
You are given a pandas DataFrame representing device readings. Your goal is to automate data cleaning and transformation, simulating a device data quality check.
- Remove all rows from the DataFrame where the
readingvalue is less thanmin_valueor greater thanmax_value. - Add a new column named
reading_fahrenheitthat contains eachreadingvalue converted from Celsius to Fahrenheit using the formula:F = C * 9/5 + 32. - Return the cleaned and transformed DataFrame.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 3
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 4.76
Challenge: Clean and Transform Device Data
Свайпніть щоб показати меню
Завдання
Swipe to start coding
You are given a pandas DataFrame representing device readings. Your goal is to automate data cleaning and transformation, simulating a device data quality check.
- Remove all rows from the DataFrame where the
readingvalue is less thanmin_valueor greater thanmax_value. - Add a new column named
reading_fahrenheitthat contains eachreadingvalue converted from Celsius to Fahrenheit using the formula:F = C * 9/5 + 32. - Return the cleaned and transformed DataFrame.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 3
single