LernerPython+data

Applying functions in Pandas

Need to perform a custom operation on your Pandas series or data frame? In this class, I’ll show you the advanced methods and techniques you need to apply your own functions, and thus get precisely the results you need.

What you should know

Course Content

Course length

2 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.