Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Clean and Transform Device Data | Data Manipulation and Analysis for Automation
Python for Automation Engineers
Seção 2. Capítulo 3
single

single

bookChallenge: Clean and Transform Device Data

Deslize para mostrar o menu

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 3
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt