From 8834b66fec18b51eecaecc68c2914efde12f3f8d Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Wed, 8 Oct 2025 09:55:04 +0100 Subject: [PATCH] Fix rounding solution We should round to 2 dp in the solution as that's what we ask for in the question --- _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..653f4b934 100644 --- a/_episodes/04-data-types-and-format.md +++ b/_episodes/04-data-types-and-format.md @@ -405,7 +405,7 @@ pandas._libs.tslibs.timedeltas.Timedelta > > ## Solution > > ~~~ > > rounded_heights = waves_df["Wave Height"].apply(round) -> > waves_df["Wave Height"].apply(round, args=(1,)) +> > waves_df["Wave Height"].apply(round, args=(2,)) > > ~~~ > > {: .language-python} > {: .solution}