diff --git a/config.yaml b/config.yaml index b0b4b81ea..4eab94c62 100644 --- a/config.yaml +++ b/config.yaml @@ -63,22 +63,20 @@ episodes: - 02-variables.md - 03-types-conversion.md - 04-built-in.md -- 05-coffee.md - 06-libraries.md -- 07-reading-tabular.md -- 08-data-frames.md -- 09-plotting.md -- 10-lunch.md -- 11-lists.md -- 12-for-loops.md -- 13-conditionals.md -- 14-looping-data-sets.md -- 15-coffee.md -- 16-writing-functions.md -- 17-scope.md -- 18-style.md -- 19-wrap.md -- 20-feedback.md +- 07-lists.md +- 08-for-loops.md +- 09-conditionals.md +- 10-reading-tabular.md +- 11-data-frames.md +- 12-plotting.md +- 13-looping-data-sets.md +- 14-coffee.md +- 15-writing-functions.md +- 16-scope.md +- 17-style.md +- 18-wrap.md +- 19-feedback.md # Information for Learners learners: diff --git a/episodes/02-variables.md b/episodes/02-variables.md index 15b125889..95c988b7c 100644 --- a/episodes/02-variables.md +++ b/episodes/02-variables.md @@ -83,7 +83,7 @@ NameError: name 'last_name' is not defined ``` - The last line of an error message is usually the most informative. -- We will look at error messages in detail [later](17-scope.md#reading-error-messages). +- We will look at error messages in detail [later](16-scope.md#reading-error-messages). ::::::::::::::::::::::::::::::::::::::::: callout diff --git a/episodes/06-libraries.md b/episodes/06-libraries.md index 595729402..44dca6a37 100644 --- a/episodes/06-libraries.md +++ b/episodes/06-libraries.md @@ -212,7 +212,7 @@ print(sample(bases, 1)[0]) ``` Note that this function returns a list of values. We will learn about -lists in [episode 11](11-lists.md). +lists in [episode 11](07-lists.md). The simplest and shortest solution is the [`random.choice`](https://docs.python.org/3/library/random.html#random.choice) function that does exactly what we want: diff --git a/episodes/11-lists.md b/episodes/07-lists.md similarity index 99% rename from episodes/11-lists.md rename to episodes/07-lists.md index 882c67489..614595453 100644 --- a/episodes/11-lists.md +++ b/episodes/07-lists.md @@ -131,7 +131,7 @@ primes after removing last item: [2, 3, 5, 7] - Use `[]` on its own to represent a list that doesn't contain any values. - "The zero of lists." - Helpful as a starting point for collecting values - (which we will see in the [next episode](12-for-loops.md)). + (which we will see in the [next episode](08-for-loops.md)). ## Lists may contain values of different types. diff --git a/episodes/12-for-loops.md b/episodes/08-for-loops.md similarity index 100% rename from episodes/12-for-loops.md rename to episodes/08-for-loops.md diff --git a/episodes/13-conditionals.md b/episodes/09-conditionals.md similarity index 100% rename from episodes/13-conditionals.md rename to episodes/09-conditionals.md diff --git a/episodes/10-lunch.md b/episodes/10-lunch.md deleted file mode 100644 index f1df9a9ba..000000000 --- a/episodes/10-lunch.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Lunch -teaching: 0 -exercises: 0 -break: 45 ---- - - -Over lunch, reflect on and discuss the following: - -- What sort of packages might you use in Python and why would you use them? -- How would data need to be formatted to be used in Pandas data frames? Would the data you have meet these requirements? -- What limitations or problems might you run into when thinking about how to apply what we've learned to your own projects or data? - - diff --git a/episodes/07-reading-tabular.md b/episodes/10-reading-tabular.md similarity index 100% rename from episodes/07-reading-tabular.md rename to episodes/10-reading-tabular.md diff --git a/episodes/08-data-frames.md b/episodes/11-data-frames.md similarity index 100% rename from episodes/08-data-frames.md rename to episodes/11-data-frames.md diff --git a/episodes/09-plotting.md b/episodes/12-plotting.md similarity index 100% rename from episodes/09-plotting.md rename to episodes/12-plotting.md diff --git a/episodes/14-looping-data-sets.md b/episodes/13-looping-data-sets.md similarity index 100% rename from episodes/14-looping-data-sets.md rename to episodes/13-looping-data-sets.md diff --git a/episodes/15-coffee.md b/episodes/14-coffee.md similarity index 100% rename from episodes/15-coffee.md rename to episodes/14-coffee.md diff --git a/episodes/16-writing-functions.md b/episodes/15-writing-functions.md similarity index 100% rename from episodes/16-writing-functions.md rename to episodes/15-writing-functions.md diff --git a/episodes/17-scope.md b/episodes/16-scope.md similarity index 100% rename from episodes/17-scope.md rename to episodes/16-scope.md diff --git a/episodes/18-style.md b/episodes/17-style.md similarity index 100% rename from episodes/18-style.md rename to episodes/17-style.md diff --git a/episodes/19-wrap.md b/episodes/18-wrap.md similarity index 100% rename from episodes/19-wrap.md rename to episodes/18-wrap.md diff --git a/episodes/20-feedback.md b/episodes/19-feedback.md similarity index 100% rename from episodes/20-feedback.md rename to episodes/19-feedback.md diff --git a/instructors/design.md b/instructors/design.md index 059a6f7da..8db8e3581 100644 --- a/instructors/design.md +++ b/instructors/design.md @@ -212,7 +212,7 @@ I know... - If `help(math)` produces an error, what have you forgotten to do? - Fill in the blanks in code below so that the import statement and program run. -### [Reading Tabular Data](../episodes/07-reading-tabular.md) (10:55) +### [Reading Tabular Data](../episodes/10-reading-tabular.md) (10:55) - Teaching: 10 min - Import the Pandas library. @@ -224,7 +224,7 @@ I know... - What string(s) should you pass to `read_csv` to read files from other directories? - How can you *write* CSV data? -### [DataFrames](../episodes/08-data-frames.md) (11:15) +### [DataFrames](../episodes/11-data-frames.md) (11:15) - Teaching: 15 min - Select individual values from a Pandas dataframe. @@ -243,7 +243,7 @@ I know... what would you do if asked to create a table of GDP per capita for Poland for the Twentieth Century? -### [Plotting](../episodes/09-plotting.md) (11:45) +### [Plotting](../episodes/12-plotting.md) (11:45) - Teaching: 15 min - Create a time series plot showing a single data set. @@ -255,7 +255,7 @@ I know... ### [Lunch](../episodes/10-lunch.md) (12:15): 45 min -### [Lists](../episodes/11-lists.md) (13:00) +### [Lists](../episodes/07-lists.md) (13:00) - Teaching: 10 min - Explain why programs need collections of values. @@ -269,7 +269,7 @@ I know... - What are the differences between sorting these two ways? - What is the difference between `new = old` and `new = old[:]`? -### [Loops](../episodes/12-for-loops.md) (13:20) +### [Loops](../episodes/08-for-loops.md) (13:20) - Teaching: 10 min - Explain what for loops are normally used for. @@ -331,7 +331,7 @@ I know... - Modify this program so that it always finds the largest and smallest values in a list no matter what the list's values are. -### [Programming Style](../episodes/18-style.md) (15:25) +### [Programming Style](../episodes/17-style.md) (15:25) - Teaching: 15 min - How can I make my programs more readable? @@ -342,14 +342,14 @@ I know... - Turn the comments in this program into docstrings. - Rewrite this short program to be more readable. -### [Wrap-Up](../episodes/19-wrap.md) (15:55) +### [Wrap-Up](../episodes/18-wrap.md) (15:55) - Teaching: 20 min - Name and locate scientific Python community sites for software, workshops, and help. - Challenges: 0 min - None. -### [Feedback](../episodes/20-feedback.md) (16:15) +### [Feedback](../episodes/19-feedback.md) (16:15) - Teaching: 0 min - Challenges: 15 min