Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Visualize and Highlight Outliers | Automation and Fraud Detection in Banking
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Bankers

bookChallenge: Visualize and Highlight Outliers

Oppgave

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.

Løsning

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 5
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

close

bookChallenge: Visualize and Highlight Outliers

Sveip for å vise menyen

Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 5
single

single

some-alt