In this video, I review the example of the previous two videos, "A first look at the map-filter-reduce paradigm" and "Modeling 'rules in memory' with map() and filter()", and show how we can use the map() and filter() built-ins without having to define a functions. That is achieved with lambda expressions that upon evaluation create new function objects that have no name. Other than that, they work the same way as "normal" functions. The point here is that we do not want to define a function with a name if we only call the function once (i.e., map() and filter() make the calls to be precise) and then never again.
PYTHON BOOK
The lecture is based on the free book "Introduction to Python & Programming".
Get it on GitHub: https://github.com/webartifex/intro-t...
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: / webartifex
XING: https://xing.to/webartifex
Facebook: / webartifex
Instagram: / webartifex
Website: http://www.webartifex.biz
YouTube: / webartifex
wa-vid-072
Auf dieser Seite können Sie das Online-Video Using map() and filter() with lambda expressions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Alexander Hess - Pythonista 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 229 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!