Home » Microsoft » DP-200 v.2 » Which switch should you use to switch between languages?
You are creating a new notebook in Azure Databricks that will support R as the primary language but will also support Scola and SQL.
Which switch should you use to switch between languages?
A. %<language>
B. \[<language>]
C. \(<language>)
D. @<Language>
Correct Answer: A
Explanation/Reference:
Explanation:
You can override the primary language by specifying the language magic command %<language> at the beginning of a cell. The supported magic commands are: %python, %r, %scala, and %sql.
References:
https://docs.databricks.com/user-guide/notebooks/notebook-use.html#mix-languages