Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Visualize and Highlight Outliers | Automation and Fraud Detection in Banking
Python for Bankers

bookChallenge: Visualize and Highlight Outliers

Tarefa

Swipe to start coding

Given a DataFrame containing transaction data, your task is to generate two plots: a scatter plot of transaction amounts over time, and a boxplot of transaction amounts grouped by customer. Outliers in the scatter plot should be highlighted in red.

  • Generate a scatter plot of the Amount column versus the Date column.
  • Use the interquartile range (IQR) method to identify outliers in the Amount column.
  • Highlight outlier points in red on the scatter plot.
  • Generate a boxplot of transaction amounts, grouped by the CustomerID column.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 5
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

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

Suggested prompts:

Can you explain this in simpler terms?

What are the main benefits or drawbacks?

Can you give me a real-world example?

close

bookChallenge: Visualize and Highlight Outliers

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Given a DataFrame containing transaction data, your task is to generate two plots: a scatter plot of transaction amounts over time, and a boxplot of transaction amounts grouped by customer. Outliers in the scatter plot should be highlighted in red.

  • Generate a scatter plot of the Amount column versus the Date column.
  • Use the interquartile range (IQR) method to identify outliers in the Amount column.
  • Highlight outlier points in red on the scatter plot.
  • Generate a boxplot of transaction amounts, grouped by the CustomerID column.

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 3. Capítulo 5
single

single

some-alt