Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Clean and Transform Device Data | Data Manipulation and Analysis for Automation
Python for Automation Engineers

bookChallenge: Clean and Transform Device Data

Task

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 reading value is less than min_value or greater than max_value.
  • Add a new column named reading_fahrenheit that contains each reading value converted from Celsius to Fahrenheit using the formula: F = C * 9/5 + 32.
  • Return the cleaned and transformed DataFrame.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

bookChallenge: Clean and Transform Device Data

Swipe to show menu

Task

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 reading value is less than min_value or greater than max_value.
  • Add a new column named reading_fahrenheit that contains each reading value converted from Celsius to Fahrenheit using the formula: F = C * 9/5 + 32.
  • Return the cleaned and transformed DataFrame.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
single

single

some-alt