Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Clean and Transform Device Data | Data Manipulation and Analysis for Automation
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Automation Engineers

bookChallenge: Clean and Transform Device Data

Tâche

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

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 3
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Clean and Transform Device Data

Glissez pour afficher le menu

Tâche

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 3
single

single

some-alt