From 0dce94619bd28becf4d1ff892c2fd163dd32b4b0 Mon Sep 17 00:00:00 2001 From: Mark Engelmann <61390579+vinegar-tom@users.noreply.github.com> Date: Thu, 31 Oct 2024 16:39:29 -0500 Subject: [PATCH] Reference correct DataFrame in `to_pickle` The DataFrame without the changes made to it was passed `to_pickle`, causing the user to save the wrong data in the file. --- episodes/tidy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/tidy.md b/episodes/tidy.md index 619f28b2..993ea974 100644 --- a/episodes/tidy.md +++ b/episodes/tidy.md @@ -334,7 +334,7 @@ If we look at the data again, we will see our index will be set to date. Let's save `df_long` to use in the next episode. ```python -df.to_pickle('data/df_long.pkl') +df_long.to_pickle('data/df_long.pkl') ``` ::::::::::::::::::::::::::::::::::::::: challenge