mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-22 05:05:53 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
514 B
Markdown
8 lines
514 B
Markdown
# Lambda Functions
|
|
|
|
Lambda functions are anonymous, single-expression functions defined with the `lambda` keyword. They are used for short, throwaway operations, particularly as arguments to functions like `map()`, `filter()`, and Pandas' `apply()`. For example: `df['col'].apply(lambda x: x * 2)`.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Python Lambda](https://www.w3schools.com/python/python_lambda.asp)
|
|
- [@video@Python Lambda Functions Explained](https://www.youtube.com/watch?v=HQNiSfb795A) |