Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a Databricks notebook set to SQL as the default language, how can a data engineer execute Python code within the same notebook?
A
Import the Python module in a cell before writing the code.
B
Change the notebook's default language to Python to enable Python code execution.
C
Rely on Databricks' automatic language detection for cells by writing Python syntax directly.
D
Use the %language magic command at the beginning of a cell to specify the language.
%language
E
Insert %python at the start of a cell to explicitly set the language for that cell.
%python