Challenge: Clean and Transform Device Data
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 3
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 4.76
Challenge: Clean and Transform Device Data
Swipe um das Menü anzuzeigen
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 3
single