-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fixed a mistake in the pairs trading lecture #303
base: master
Are you sure you want to change the base?
Conversation
@@ -978,7 +978,7 @@ | |||
"source": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 on the fix to the source. It looks like the cell output is also stored in the notebook. Should we re-run the cell and save the new output?
@richafrank Jamie asked me to test the change for truthiness. Will re-run to change the cell output and test for truthiness. |
9f025d5
to
729be33
Compare
Nice. Ok, new request for you: Would it be possible to run this in an environment where we aren't generating all the |
729be33
to
6f54a43
Compare
Hey Rich, I did my best to cut down on those error messages - there is one error left. I did my best to alter the code while keeping the results exactly the same, but don't have the know how to convert I would have just run the code in a notebook with the original pandas version (0.17.1), but the notebook requires using |
Ah, I didn't realize the warnings were from 0.18 - I had assumed you were running this locally with a newer version! I wouldn't worry about the remaining warnings then. Definitely stick with what's on the platform. Thanks for updating to
|
An error was pointed out by community member Emilio via helpscout:
Rene confirmed it was a mistake and offered a fix via slack:

That fix is reflected in the code change.