# 5.1.3 - Intro to Spark

:clock4:  *Estimated time spent on this lesson | \~15 min*

Youtube Video | \~7 min

{% embed url="<https://www.youtube.com/watch?v=FhaqbEOuQ8U&list=PL3MmuxUbc_hJed7dXYoJw8DoCuVHhGEQb&index=45>" %}

:writing\_hand: In this video we learn about apache spark, how to use it, and when to use it.

Spark is used to execute batch or streaming. Spark is usually in a wrapper with Java, Scala, Python, R, etc.&#x20;

{% embed url="<https://spark.apache.org/>" %}

The python wrapper is called **PySpark**

{% embed url="<https://spark.apache.org/docs/latest/api/python/getting_started/index.html>" %}

**Workflow Example**

<figure><img src="https://3375647567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxgPnpaRKCInTeWOYlVUE%2Fuploads%2FuK1m3QdxRxo7LNqN7R0Y%2FScreen%20Shot%202025-02-25%20at%206.32.25%20PM.png?alt=media&#x26;token=ea0cf68d-8ad9-4916-a10c-14594354bc3f" alt=""><figcaption></figcaption></figure>
