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

bookChallenge: Visualize and Highlight Outliers

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 5
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

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

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 5
single

single

some-alt