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

bookChallenge: Visualize and Highlight Outliers

Tehtävä

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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 5
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

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

Pyyhkäise näyttääksesi valikon

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 5
single

single

some-alt