Skip to content

Commit aad40de

Browse files
authored
Merge pull request #344 from NPalopoli/patch-13
guide.md: removing deprecated challenge
2 parents 92d34a3 + ff237b7 commit aad40de

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

_extras/guide.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -440,13 +440,6 @@ surveys_year = surveys_df[surveys_df.year == year].dropna()
440440
~~~
441441
{: .language-python}
442442

443-
* 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`)
444-
445-
~~~
446-
An empty file with only the headers
447-
~~~
448-
{: .output}
449-
450443
* 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?
451444

452445
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

Comments
 (0)