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

Oppgave

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

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 3
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

close

bookChallenge: Clean and Transform Device Data

Sveip for å vise menyen

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 3
single

single

some-alt