pandas · Lesson 11.1 · Pro
map and apply
Translate values with a dictionary, and run your own function on every value or every row.
In this lesson
- map with a dictionary
- map or apply with a function
- apply across a row
- apply on groups
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.