Transformations and Actions
In this lesson, we’ll dive deeper into how those mechanisms work, and explore a wider range of the functions built into the Spark core.
While learning about transformations and actions, you will clean up and reformat a file that contains the entire text of Shakespeare’s play Hamlet. Shakespeare is well-known for his unique writing style and arguably one of the most influential writers in history. Hamlet is one of his most popular plays. After cleaning and reformating the data, you will perform text analysis on the data.
You’ll learn such concepts using functions such as `map()`, `flatmap`, as well as other functions to help transform your data using Spark
As you learn transformation and actions, you’ll be able to apply what you’ve learned from within your browser — there’s no need to use your own machine to do the exercises. The Python environment inside of this course includes answer checking so you can ensure that you’ve fully mastered each concept before learning the next.
- Learn how to read TSV files into Spark.
- Learn to apply lambda functions over RDD objects.
- Introduction to the Data
- The Map Method
- Beyond Lambda Functions
- The FlatMap Method
- Filter Using a Named Function
- Next Steps