From the course: Complete Guide to Data Lakes and Lakehouses

Unlock the full course today

Join today to access over 25,200 courses taught by industry experts.

Connecting Dremio to Jupyter Notebook

Connecting Dremio to Jupyter Notebook

- [Instructor] And we're finally ready to start running analysis in Python. Let's open our Jupyter Notebook, and we will run it step-by-step together. Once we are in the notebook, we need to select a kernel. In my case, I already chose Python. Now you can run the code in each cell by clicking on the Play icon next to it. So let's run the first one, and install the Dremio simple query library. This library is useful for getting an authentication token from Dremio. Before getting our access token, we need to update the Dremio URL since we are not running locally, but in codespaces. In the port section, look for the port 9047, and expand the running processes column to check the Dremio container IP address. Or you can also just hover over the running process here. So this is what we need to use instead of the local host. In my case, it's 172.18.0.2. Let's write that into the URL replacing local host. Then we need to provide our Dremio username and password. Since this is just a learning…

Contents