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. We'll discuss:
- Functions as first-class objects
- Named functions vs. lambda
- map
- apply
- applymap
- transform
- Other ways to apply functions
The course includes hands-on exercises using real-world data. And as always with my courses, there will be plenty of time to ask questions.
This course assumes basic Pandas knowledge, and also an understanding of Python functions, ideally including lambda.