Errors and Execution of the same code in Jupyter notebook through Anaconda

Thanks for more information on what you are using. That part is clearer; however, in the future mentioning the version of Python would be best, too. Jupyter and Python versions are not locked in any relative way and so just because you say version 7.3.2 of Jupyter Notebook, there’s no way to tell what version of Python is involved. Here it is probably not that important since the apparent issue would be so fundamental that I doubt a Python version would be released with such an issue.

However, the other aspects of your post still need some work. Please read about what I said about how to share formatted, useable code and actual notebooks, such as via GitHub gists. Little of what you have provided is useable or clear. Please read Getting good answers to your questions . Especially read the section ‘Help others reproduce the problem’ in the last link there.

This is unclear what this is doing here?

Finally, I provided other places to run the code and try things (you can also use Anaconda Cloud that I referenced when I was wondering what you were describing in your original post) so you can tell if it is your particular system that only has the problem or a particular version of Jupyter Notebook or Python. You seem to have not investigated any of that.

Additionally, if you are just looking to learn Python those resources may be more convenient so that you can keep your own machine clear for when you know what you are doing and need secure computing.


It seems the second attempt to append is the one with issues? Or sometimes it is the first?