# Issue with C4W1 Sequences, Time Series and Prediction Exercise 6

**URL:** <https://community.deeplearning.ai/t/issue-with-c4w1-sequences-time-series-and-prediction-exercise-6/751830>\
**Category:** Sequences, Time Series and Prediction\
**Tags:** week-module-1, week-module-4\
**Created:** [January 14, 2025, 3:31pm UTC](https://community.deeplearning.ai/t/issue-with-c4w1-sequences-time-series-and-prediction-exercise-6/751830 "2025-01-14T15:31:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aluchie](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Aluchie](https://community.deeplearning.ai/u/Aluchie)\
**Post date:** [January 14, 2025, 3:31pm UTC](https://community.deeplearning.ai/t/issue-with-c4w1-sequences-time-series-and-prediction-exercise-6/751830/1 "2025-01-14T15:31:59Z")

</div>

I am currently working on the Week 1 of the Sequences, Time Series and Prediction module and I’ve run into an issue in Exercise 6.  
The **Expected Output:** is meant to be

“moving average forecast with diff series after slicing has shape: (361,)  
comparable with validation series: True”  
but I keep getting this  
"moving average forecast with diff series after slicing has shape: (0,)

comparable with validation series: False"

I’ve looked through the previous submissions on this topic and still haven’t been able to solve it.  
Here is a screenshot

! **image removed as it contained codes which grades your assignment. It is against community guidelines to post codes screenshot, or link to any graded assignment, rather post a screenshot of your error or in your output with the expected output**

---

<div class="post-metadata">

**Author:** ![Deepti\_Prasad](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/deepti_prasad/32/165831_2.png) [@Deepti\_Prasad](https://community.deeplearning.ai/u/Deepti_Prasad)\
**Post date:** [January 14, 2025, 3:37pm UTC](https://community.deeplearning.ai/t/issue-with-c4w1-sequences-time-series-and-prediction-exercise-6/751830/2 "2025-01-14T15:37:14Z")

</div>

See if the below post comment helps you debug your codes

> [@C4W1 Assignment compiling error resulting in 0 points](https://community.deeplearning.ai/t/c4w1-assignment-compiling-error-resulting-in-0-points/705962/9):
>
> hi @edmos7 When you do now correction please make sure to get a fresh copy of assignment and only write codes between assigned markers ###START AND END CODE HERE### and making sure not to delete the already given instructions and do not add your own way of writing the codes. You suppose to only replace None placed between the Markers ###START AND END CODE HERE### without editing the already given instructions or part of codes already given to you when you first open the assignment notebook. By…
