Skip to content

Commit 0dce946

Browse files
authored
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.
1 parent 829265e commit 0dce946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/tidy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ If we look at the data again, we will see our index will be set to date.
334334
Let's save `df_long` to use in the next episode.
335335

336336
```python
337-
df.to_pickle('data/df_long.pkl')
337+
df_long.to_pickle('data/df_long.pkl')
338338
```
339339
::::::::::::::::::::::::::::::::::::::: challenge
340340

0 commit comments

Comments
 (0)