pandas · Lesson 3.1 · Pro
New columns
Work out new columns from existing ones, with whole-column maths and assign.
In this lesson
- Maths between columns
- Missing values spread
- assign: several columns, no changes to the original
- Change values in place with loc
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.