Just Enough Python for Apache Spark™


Develop just enough experience with Python to begin using Apache Spark programming APIs on Databricks.


This course provides a basic overview of five main constructs required to start using Python for the first time. In the first lesson, students are introduced to Python, calling out some of the key differences between this language and others they may have seen in the past.  In the second lesson students are introduced to the first construct which revolves around the assignment of variables and four basic data types (booleans, integers, floats and strings). In the third lesson, the for loop and if-else constructs are introduced demonstrating for students how to handle increasingly complex coding challenges. The fourth lesson bears a heavy emphasis on functions, how to create them, and the many different ways that a software developer may invoke them. The fifth and last lesson includes a short introduction to classes but focus primarily on basic collections (list, dictionaries, ranges and tuples), how to query them, update them and iterate over them.

Learning objectives

  • Explain the high-level features of the Python programming language that help differentiate it from other programming languages. 

  • Create and assign variables, starting with the four basic data types (booleans, integers, floats and strings).

  • Employ basic programming constructs (such as conditional statements and loops) to control program flow.

  • Create functions that contain a variety of features including default parameters, named arguments, arbitrary arguments and arbitrary keyword arguments to encapsulate logic for reuse.

  • Manipulate basic collections that enable developers to build increasingly complex data structures.


  • Intermediate-level experience with a structured programming language such as Javascript, C++ or R helpful but not required. 

Learning path

  • This course is part of the data analyst, data scientist, and data engineer learning paths. 

Proof of completion

  • Upon 80% completion of this course, you will receive a proof of completion.