Challenge: Visualize and Highlight Outliers
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
Amountcolumn versus theDatecolumn. - Use the interquartile range (IQR) method to identify outliers in the
Amountcolumn. - Highlight outlier points in red on the scatter plot.
- Generate a boxplot of transaction amounts, grouped by the
CustomerIDcolumn.
Oplossing
Bedankt voor je feedback!
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Geweldig!
Completion tarief verbeterd naar 4.76
Challenge: Visualize and Highlight Outliers
Veeg om het menu te tonen
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
Amountcolumn versus theDatecolumn. - Use the interquartile range (IQR) method to identify outliers in the
Amountcolumn. - Highlight outlier points in red on the scatter plot.
- Generate a boxplot of transaction amounts, grouped by the
CustomerIDcolumn.
Oplossing
Bedankt voor je feedback!
single