Databricks Free Community Edition | Introduction to Databricks Notebooks | Databricks User Interface
helloword # Databricks notebook source # MAGIC %md # MAGIC # Basic Hello World Example # MAGIC This example shows how to print "Hello, World!" to the console. # COMMAND ---------- message = "Hello, World!" # COMMAND ---------- print ( message ) data-processing # Databricks notebook source # MAGIC %md # MAGIC In this notebook, we will perform a simple data processing workflow using PySpark. The process is divided into four main stages: # MAGIC # MAGIC 1. **Imports**: Import the necessary functions or libraries. # MAGIC 2. **Extract/Create Data**: Create a DataFrame with sample data. # MAGIC 3. **Transform Data**: Filter the DataFrame to include only individuals older than 23. # MAGIC 4. **Load/Display Data**: Display the filtered DataFrame. # COMMAND ---------- # Import Libraries from pyspark.sql.functions import col # COMMAND ---------- # Create Data data = [( "John" , 25 ), ( "Jane" , 30 ), ( "Sam" , 22 )] columns = [ "Nam