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

  1. map with a dictionary
  2. map or apply with a function
  3. apply across a row
  4. apply on groups