When I go to “Kaggle” and run example code I get errors. This also happens with Collab.
Can someone explain how we are expected to use the interactive portions of this course?
I don’t understand what we are expected to do. Reading the chapters and watching the videos makes sense, but the interactive portion doesn’t seem very thought out. The Kaggle exercises don’t seem to direct the student on how to appropriate the code for their own projects, it’s basically just a demonstration. Outside the context of “Kaggle” how do we use this ourselves? Is that question ever answered?
If I have Jupyter Notebook running on my machine, and I want to play with the Kaggle code locally, how do I do that?
Looking at the error message, it seems that the package duckduckgo_search is not installed by default on colab and kaggle. You need to manually install it.
To do so, create a cell above the one with the import statement, with the following code: !pip install duckduckgo-search
It will install the package on colab or kaggle, and then you will be able to use it.