QuestionQ106Verified/Debugging and DeployingCopy linkReport a problemAsk AstroTutorSave questionWhat appears on the first line of a Databricks Python notebook when it is viewed in a text editor?A%pythonB// Databricks notebook sourceCDatabricks notebook sourceD-- Databricks notebook sourceEMAGIC %pythonShow AnswerAnswerExplanationA source-format Python notebook is identified by the first-line Python comment # Databricks notebook source. Databricks uses this marker to distinguish a notebook from an ordinary Python script.Learn moreImport and export Databricks notebooksShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion