Spark with Python Course. Lesson 1. Create Parallelized Collection RDD @DataScienceGarage
Spark with Python Course. Lesson 1. Create Parallelized Collection RDD  @DataScienceGarage
Uploaded December 2018 | Updated September 2026, 2 weeks ago
A parallelized collection in Spark represents a distributed dataset of items that can be operated in parallel, in different nodes in the Spark Cluster.

The example on the video shows how to use SparkContext object to create a parallelized collection from a list of words.

Once the RDD (Resilient Distributed Dataset) has been created, it is possible to interact with it by performing different transformations and actions that are available in the Spark API.

The example on the video shows how to create a new RDD from the primary RDD by excluding words with lengths that are less than three characters.
For this Spark filter and lambda functions has been used.

RDD datasets can be operated in parallel. An important parameter that can be used when creating parallelized collection is the number of partitions to split the dataset into. Spark executes one task in every partition; a common approach is to use between two and four partitions by CPU, although Spark attempts to set this number automatically.

Used:
- Python 3.5.3
- Enthought Canopy
- Spark 2.3.2

Prepared by Vytautas Bielinskas.
Spark with Python Course. Lesson 1. Create Parallelized Collection RDDPandas Trick. Convert Strings to Float in Pandas DataFrame (parsing data with RegEx)MongoDB with Python. How to start using NoSQLPYTHON AUTOMATION PROJECT | Grouping Your Images by Days in One Click - Python coding live streamANN for Beginners. ANN for Univariate MultiLayer Perception Model. MLP Example in PythonSELF-ATTENTION in NLP | How does it works? - ExplainedPython Web Scraping Real estate website in Lithuania - Aruodas.lt (DEMO)Batch Image Resize with Python (with explanation)Run Python on AWS EC2 (Step by Step Example)Python Real data Finance Stock Graph in HTML (2017 version!)Hyperparameter tuning for Ensemble of ML models (Simple Python Example)NLP with Tensorflow and Keras. Tokenizer, Sequences and Padding
Data Science Garage |

Spark with Python Course. Lesson 1. Create Parallelized Collection RDD

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER