Lesson 29 of 60
pythonApplying Functions: `apply`, `map`, and Vectorized Operations
20 minutes
Course progress48%
Applying Functions in Pandas
Pandas allows you to apply custom Python logic across rows or columns.
Using map for element‑wise transformation
df['temp_f'] = df['temp_c'].map(lambda c: c * 9/5 + )