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

bookChallenge: Clean and Transform Device Data

Opgave

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.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 3
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Clean and Transform Device Data

Stryg for at vise menuen

Opgave

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.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 3
single

single

some-alt