Certified Data Engineer Professional Exam QuestionsBrowse all questions from this exam

Certified Data Engineer Professional Exam - Question 159


What is a method of installing a Python package scoped at the notebook level to all nodes in the currently active cluster?

Show Answer
Correct Answer: C

To install a Python package scoped at the notebook level in a Databricks environment, the appropriate method is to use %pip install in a notebook cell. This command ensures the package is installed only in the context of the current notebook session and is available to all nodes in the active cluster.

Discussion

1 comment
Sign in to comment
imatheushenriqueOption: C
May 31, 2024

Is necessary just run %pip install some_library inside a notebook cell C. OBS: For the last update of a library can be executed %pip install some_library -U