Why shift 370 time steps and not let say 365 time steps?

Hello sir,
Welcome to the community!
This seems to be an issue with the syntax you are using sir
Could you please click on my name and share your notebook via personal message in both ipynb and pdf form so that I can guide you better
Thanks and Regards,
Mayank Ghogale