filmov
tv
Lambda Python Programming Tutorial | Advanced Python with Map Filter Reduce
Показать описание
In this video I will cover lambda functions in Python. Lambdas are anonymous functions that can be defined in a single line without any naming. This makes ideal as arguments for other functions. Specifically we look at the map, filter and reduce functions in Python and how they can be implemented using lambdas.
I cover a handful of methods with examples. Although it is termed Advanced, you can still follow along if you have basic Python skills.
Code here:
00:00 Lambda intro
00:45 Sort with key as lambda
02:25 filter
03:00 map with one arg
03:43 map with two args
04:30 reduce with simple example
05:09 reduce with complex example
06:18 explaining reduce
06:53 End
Please consider liking if you found the video useful and subscribe for more!
I cover a handful of methods with examples. Although it is termed Advanced, you can still follow along if you have basic Python skills.
Code here:
00:00 Lambda intro
00:45 Sort with key as lambda
02:25 filter
03:00 map with one arg
03:43 map with two args
04:30 reduce with simple example
05:09 reduce with complex example
06:18 explaining reduce
06:53 End
Please consider liking if you found the video useful and subscribe for more!