You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* What happens if there is no data for a year in the sequence (for example, imagine we had used 1976 as the start year in `range`)
425
-
426
-
~~~
427
-
An empty file with only the headers
428
-
~~~
429
-
{: .output}
430
-
431
424
* Let's say you only want to look at data from a given multiple of years. How would you modify your loop in order to generate a data file for only every 5th year, starting from 1977?
432
425
433
426
You could just make a list manually, however, why not check the first and last year making use of the code itself?
0 commit comments