Time Series Visualizer wrong number of data points

Tell us what’s happening:
My code currently fails three test cases, but one of them I think I understand. The remaining two are simple tests that check the number of data points in the data set. The correct number is 1238, but the number that I’m getting is 1239. And I don’t know where that single extra data point could be coming from.

Your code so far
Here’s my code: https://replit.com/@bburgess/boilerplate-page-view-time-series-visualizer#time_series_visualizer.py

Challenge: Page View Time Series Visualizer

Link to the challenge:

Consider how data is cleaned in the code. First removed are bottom 2.5% of all values . Then top 2.5% are removed from the values with bottom 2.5% removed.

Compare it with removing both top and bottom 2.5% from all values.

Good catch, I hadn’t even considered that but it makes a lot of sense. Thanks!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.