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.
Рішення
Дякуємо за ваш відгук!
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Чудово!
Completion показник покращився до 4.76
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.
Рішення
Дякуємо за ваш відгук!
single