Skip to content

Glossary: pandas Basics

apply

Also written: .apply()

Calls a function you wrote once for each value in a column and collects the results into a new Series. It runs ordinary Python per value, so it is slower than vectorized math.

Where the book teaches it

Related terms

mapVectorized