Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional episode only partially restores state #1051

Closed
edbennett opened this issue Jul 20, 2023 · 1 comment
Closed

Conditional episode only partially restores state #1051

edbennett opened this issue Jul 20, 2023 · 1 comment
Labels
type:enhancement Propose enhancement to the lesson

Comments

@edbennett
Copy link
Contributor

edbennett commented Jul 20, 2023

Episode 7 includes the text

Therefore, if you’re working in a new Python session, make sure to load the module with:

import numpy

But the subsequent code block then refers to data, which will not be defined if the learner (or instructor) is in a new Python session.

I'd suggest that either this section should re-load the data, or the quoted section should be removed, for consistency. (My personal preference would be the former.)

@AlbertoImg
Copy link

Hi @edbennett, thanks for your contribution. The suggestion is now in the last version. Thanks again!

@AlbertoImg AlbertoImg added the type:enhancement Propose enhancement to the lesson label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Propose enhancement to the lesson
Projects
None yet
Development

No branches or pull requests

2 participants