Ch.8: Map, Filter, & Reduce | Intro to Python & Programming | Coding for Managers Series
Channel: Alexander Hess - Pythonista
Date: 2020-03-22

UPDATE: The chapter number was changed from 7.2 to 8

This is a presentation of Chapter 8 of the "Introduction to Python & Programming" book that accompanies the coding course in the Bachelor program at WHU - Otto Beisheim School of Management in Germany in the spring semester 2020.

In this video, I talk about:
- How the Map-Filter-Reduce paradigm is a good way to think about the individual steps in a larger program that processes data
- That mapping just means applying the same transformation to every element in a sequence
- That filtering means to only keep certain elements of a sequence
- That reducing means to calculate a single "scalar value" out of the many elements in a sequence
- How lambda expressions are useful when a function is not to be re-used
- How new lists can be derived from existing lists with list comprehensions (Example: Cartesian Products)
- Why generator expressions are really just "lazy" versions of list comprehensions
- Why using generator expressions is a good way to make code work for big amounts of data
- How the abstract concept of an iterator is used to classify any object that resembles a "rule" in memory that knows how to produce objects without producing them
- That Python's for statement is built around the idea behind iterators

PYTHON BOOK
The lecture is based on the free book "Introduction to Python & Programming".
Get it on GitHub: https://github.com/webartifex/intro-to-python

PYTHON LECTURES
Find all the video recordings of the book in this playlist: https://www.youtube.com/playlist?list=PL-2JV1G3J10lQ2xokyQowcRJI5jjNfW7f

SUBSCRIBE
If you like the way I teach and talk about programming and data science, subscribe to this channel.
The videos focus on coding courses and tutorials aimed at managers and students of business administration, enabling them to make better decisions with analyses done in code.

INSTRUCTOR
Alexander Hess, PhD Student
WHU - Otto Beisheim School of Management, Vallendar, Germany 

CONTACT
GitHub: https://github.com/webartifex
LinkedIn: https://linkedin.com/in/webartifex
XING: https://xing.to/webartifex
Facebook: https://facebook.com/webartifex
Instagram: https://instagram.com/webartifex
Website: http://www.webartifex.biz
YouTube: https://youtube.com/user/webartifex

wa-vid-016