From 5d5b3e15db2ff38421a0af1e6a76afdc4922dd62 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Tue, 7 Oct 2025 16:43:00 +0100 Subject: [PATCH] 04-data-types-and-format.md "Names" -> "Name" The `.apply(len)` example calculates the length of the name string, but the column is called name, not names. This is a one-character fix for this --- _episodes/04-data-types-and-format.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_episodes/04-data-types-and-format.md b/_episodes/04-data-types-and-format.md index 5aa587912..0d7079699 100644 --- a/_episodes/04-data-types-and-format.md +++ b/_episodes/04-data-types-and-format.md @@ -321,7 +321,7 @@ This is a convenient place to highlight that the `apply` method is one way to ru the Buoy Station Names, we can write: ~~~ -waves_df["Names"].apply(len) +waves_df["Name"].apply(len) ~~~ {: .language-python}