Files

8 lines
514 B
Markdown
Raw Permalink Normal View History

2026-06-15 15:26:18 +02:00
# Lambda Functions
2026-06-16 13:12:17 +02:00
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)