You can override the default language by specifying the language magic command %<language> at the beginning of a cell. The supported magic commands are: %python, %r, %scala, and %sql. Reference: https://docs.microsoft.com/en-us/azure/databricks/notebooks/notebooks-use