LernerPython+data

Applying functions in Pandas

Learn how to master the use of Pandas with strings

What you should know

Course Content

Course length

1.5 hours

Number of lessons

1

Training materials

1 Jupyter notebook

Coding exercises

3

LEARN MORE

Pandas comes with a large number of methods that can manipulate your data in all sorts of ways. But what if you need to do something special? Well, then you need to apply a function — often an anonymous function — to your series or data frame.

Once you can apply functions to Pandas data structures, there’s no limit to what you can do with your data!

In this two-hour live course, I’ll show when we might want to apply functions, and the differences between the seemingly similar techniques that Pandas offers. 

  • Other ways to apply functions
  • Functions as first-class objects
  • Named functions vs. lambda
  • map
  • apply
  • applymap
  • transform

This course, like all others on LernerPython.com, is taught by Reuven Lerner.